Autoinstall with an interactive section wouldn't execute "shutdown: poweroff" on 22.04 srv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Configuring autoinstall for Ubuntu 22.04 server.
Here's my user-data config. Network installer section is enabled and "shutdown: poweroff" stopped working as it did in a fully automated mode.
The issue persists with or without the cloud-init section.
#cloud-config
autoinstall:
version: 1
identity:
hostname: u22circleci01
username: ubuntuuser
password: ubuntupass
ssh:
install-server: yes
allow-pw: yes
apt:
fallback: offline-install
interactive-
- network
late-commands:
- lvextend -l +100%FREE /dev/ubuntu-
- resize2fs /dev/mapper/
- curtin in-target --target=/target -- sed -i 's/GRUB_
- curtin in-target --target=/target -- update-grub
shutdown: poweroff
user-data:
write_files:
- path: /opt/payload_
permissions: '0755'
content: |
echo 'payload 2 test script running $(date "+%H:%M:%S")' >> /var/log/
runcmd:
- chmod +x /opt/*.sh
- ./opt/payloadte
package-
affects: | ubuntu → subiquity (Ubuntu) |
Why on Earth have you logged this against nvidia- graphics- drivers- 304?