From 73c8c6c49218c8baca2ce0f69b88e4299c862f40 Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Mon, 3 Jun 2024 00:12:06 -0400 Subject: [PATCH] probably should change the subnet now --- arrbuntu.tf | 5 +++-- provider.tf | 8 ++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) 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