Fully automated Ubuntu 22.04 install
This commit is contained in:
parent
cb410f3dc5
commit
a051724f38
@ -34,11 +34,12 @@ autoinstall:
|
||||
authorized-keys: []
|
||||
install-server: true
|
||||
|
||||
packages:
|
||||
- "qemu-guest-agent"
|
||||
|
||||
late-commands:
|
||||
- "echo 'xadmin ALL=(ALL) NOPASSWD:ALL' > /target/etc/sudoers.d/xadmin"
|
||||
- "chmod 440 /target/etc/sudoers.d/xadmin"
|
||||
|
||||
bootcmd:
|
||||
- "apt install -y qemu-guest-agent"
|
||||
- "systemctl enable qemu-guest-agent"
|
||||
- "systemctl start qemu-guest-agent"
|
||||
- "curtin in-target --target=/target -- apt install -y qemu-guest-agent"
|
||||
- "curtin in-target --target=/target -- systemctl enable qemu-guest-agent"
|
||||
- "curtin in-target --target=/target -- systemctl start qemu-guest-agent"
|
||||
|
Loading…
Reference in New Issue
Block a user