automated install of fedora vm with cloud-init
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user