From c8fa2c27a595f66a5f67557460b4bbe845558b46 Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Wed, 20 Aug 2025 16:58:32 +0000 Subject: [PATCH] proxmox ip --- proxmox.tf | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/proxmox.tf b/proxmox.tf index 814ded8..80a2527 100644 --- a/proxmox.tf +++ b/proxmox.tf @@ -53,15 +53,17 @@ resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" { file_id = proxmox_virtual_environment_download_file.Fedora-iso.id } - - initialization { - ip_config { - ipv4 { - address = "192.168.1.24/24" - } - } - +initialization { + ip_config { + ipv4 { + address = "192.168.1.24/24" # IP estático + máscara de rede + gateway = "192.168.1.1" # Gateway da rede } + } + + user = "terraform" + password = "SenhaSegura123" +} }