probably should change the subnet now
This commit is contained in:
parent
6d79ce17fd
commit
73c8c6c492
2 changed files with 11 additions and 2 deletions
|
@ -46,8 +46,8 @@ resource "proxmox_virtual_environment_vm" "Arrbuntu" {
|
||||||
initialization {
|
initialization {
|
||||||
ip_config {
|
ip_config {
|
||||||
ipv4 {
|
ipv4 {
|
||||||
address = "10.69.69.100/24"
|
address = var.arrbuntu_ip_address
|
||||||
gateway = "10.69.69.1"
|
gateway = var.arrbuntu_gateway
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,4 +61,5 @@ resource "proxmox_virtual_environment_vm" "Arrbuntu" {
|
||||||
initialization[0].user_account[0].username,
|
initialization[0].user_account[0].username,
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,4 +21,12 @@ variable "virtual_environment_endpoint" {
|
||||||
|
|
||||||
variable "virtual_environment_api" {
|
variable "virtual_environment_api" {
|
||||||
type = string
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "arrbuntu_ip_address" {
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "arrbuntu_gateway" {
|
||||||
|
type = string
|
||||||
}
|
}
|
Reference in a new issue