diff --git a/main.tf b/main.tf index 7cda4b5..5f8933c 100644 --- a/main.tf +++ b/main.tf @@ -75,8 +75,8 @@ resource "proxmox_vm_qemu" "hashi_server" { # the ${count.index + 1} thing appends text to the end of the ip address # in this case, since we are only adding a single VM, the IP will # be 192.168.1.71 since count.index starts at 0. this is how you can create - # multiple VMs and have an IP assigned to each (.71, .72, .73, etc.) - ipconfig0 = "ip=192.168.1.7${count.index + 1}/24,gw=192.168.1.1" + # multiple VMs and have an IP assigned to each (.111, .112, .113, etc.) + ipconfig0 = "ip=192.168.1.11${count.index + 1}/24,gw=192.168.1.1" # username by cloud-init ciuser = "alpine"