This commit is contained in:
2024-05-11 07:18:35 -05:00
parent 855ad01b3e
commit 0e65f63314
3 changed files with 4 additions and 13 deletions

View File

@@ -82,10 +82,9 @@ resource "proxmox_vm_qemu" "k3master" {
]
}
#Cloud Init Settings
ipconfig0 = "ip=192.168.20.${var.k3master.ip[count.index]}/24,gw=192.168.20.1"
ipconfig0 = "ip=192.168.10.${var.k3master.ip[count.index]}/24,gw=192.168.10.1"
searchdomain = "durp.loc"
nameserver = var.dnsserver
sshkeys = var.sshkeys
}
resource "proxmox_vm_qemu" "k3server" {
@@ -125,8 +124,7 @@ resource "proxmox_vm_qemu" "k3server" {
]
}
#Cloud Init Settings
ipconfig0 = "ip=192.168.20.${var.k3server.ip[count.index]}/24,gw=192.168.20.1"
ipconfig0 = "ip=192.168.10.${var.k3server.ip[count.index]}/24,gw=192.168.10.1"
searchdomain = "durp.loc"
nameserver = var.dnsserver
sshkeys = var.sshkeys
}