autoinstall

This commit is contained in:
martin.cholewa
2025-06-20 10:01:46 +02:00
commit 0983f88526
3 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#cloud-config
autoinstall:
version: 1
identity:
hostname: ubuntu
username: ubuntu
password: "genius"
ssh:
install-server: yes
authorized-keys:
- "ssh-ed25519 AAAAC3Nza..."
packages:
- qemu-guest-agent
user-data:
disable_root: false
late-commands:
- curtin in-target -- apt-get clean
- curtin in-target -- systemctl enable qemu-guest-agent