diff --git a/arrbuntu.tf b/arrbuntu.tf index d10e835..7260c51 100644 --- a/arrbuntu.tf +++ b/arrbuntu.tf @@ -46,8 +46,8 @@ resource "proxmox_virtual_environment_vm" "Arrbuntu" { initialization { ip_config { ipv4 { - address = "10.69.69.100/24" - gateway = "10.69.69.1" + address = var.arrbuntu_ip_address + gateway = var.arrbuntu_gateway } } @@ -61,4 +61,5 @@ resource "proxmox_virtual_environment_vm" "Arrbuntu" { initialization[0].user_account[0].username, ] } + } diff --git a/provider.tf b/provider.tf index f683089..3d37f42 100644 --- a/provider.tf +++ b/provider.tf @@ -21,4 +21,12 @@ variable "virtual_environment_endpoint" { variable "virtual_environment_api" { type = string +} + +variable "arrbuntu_ip_address" { + type = string +} + + variable "arrbuntu_gateway" { + type = string } \ No newline at end of file