automated install of fedora vm with cloud-init

This commit is contained in:
Petar Cubela
2025-09-17 23:39:41 +02:00
parent 37c441a107
commit 67c9df85f1
21 changed files with 1610 additions and 144 deletions

View File

@@ -0,0 +1,28 @@
#cloud-config
package_update: true
package_upgrade: true
packages:
- curl
- qemu-guest-agent
- vim
- htop
- bash-completion
users:
- name: sbxadmin
groups: sudo
shell: /bin/bash
sudo: ['ALL=(ALL) NOPASSWD:ALL']
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBzh23ZkSVNbmDKk9esAT9qNkOoYFLhpX2nSLKPJaDVZ petar.cubela@sbx-mac-lab.local
preserve_hostname: false
manage_etc_hosts: false
fqdn: ipa.lab.softbox.net
runcmd:
- systemctl start qemu-guest-agent
- systemctl enable --now qemu-guest-agent