Update 2 files
- /terraform/main.tf - /terraform/variables.tf
This commit is contained in:
@@ -81,7 +81,7 @@ resource "proxmox_vm_qemu" "k3server" {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
#Cloud Init Settings
|
#Cloud Init Settings
|
||||||
ipconfig0 = "ip=192.168.20.${var.ipprefix}${var.k3server[count.index]+1}/24,gw=192.168.20.1"
|
ipconfig0 = "ip=192.168.20.${var.ipprefix}${var.k3server[count.index] + 1}/24,gw=192.168.20.1"
|
||||||
searchdomain = "durp.loc"
|
searchdomain = "durp.loc"
|
||||||
nameserver = var.dnsserver
|
nameserver = var.dnsserver
|
||||||
sshkeys = var.sshkeys
|
sshkeys = var.sshkeys
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ variable "environment" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
variable "ipprefix" {
|
variable "ipprefix" {
|
||||||
type = number
|
type = number
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "k3master" {
|
variable "k3master" {
|
||||||
|
|||||||
Reference in New Issue
Block a user