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

@@ -54,6 +54,7 @@ resource "proxmox_vm_qemu" "vm-freeipa" {
}
nameserver = "9.9.9.9"
onboot = true
boot = "order=scsi0"
tags = "ldap,samba,kerberos,dns,pki"
@@ -61,7 +62,7 @@ resource "proxmox_vm_qemu" "vm-freeipa" {
# Keep in mind to use the CIDR notation for the ip.
ipconfig0 = "ip=10.11.12.65/24,gw=10.11.12.254"
ciuser = "sbxadmin"
cicustom = "vendor=local:snippets/qemu-guest-agent.yml" # /var/lib/vz/snippets/qemu-guest-agent.yml
cicustom = "vendor=local:snippets/qemu-guest-agent.yml,user=local:snippets/cloud_init_fedora_vm_ipa.yml" # /var/lib/vz/snippets/qemu-guest-agent.yml
ciupgrade = true
sshkeys = <<EOF