change: bridge vmbr0 and vlan tag by vlan66

This commit is contained in:
2025-09-12 06:46:26 +00:00
parent 89be2412ef
commit ef0e5bf8f2
2 changed files with 2 additions and 4 deletions

View File

@@ -83,8 +83,7 @@ resource "proxmox_virtual_environment_vm" "vm" {
}
network_device {
bridge = "vmbr0" # Use the default bridge
vlan_id = var.vm_vlan # VLAN tagging if used
bridge = "vlan${var.vm_vlan}" # VNet used with VLAN ID
}
operating_system {

View File

@@ -83,8 +83,7 @@ resource "proxmox_virtual_environment_vm" "vm" {
}
network_device {
bridge = "vmbr0" # Use the default bridge
vlan_id = var.vm_vlan # VLAN tagging if used
bridge = "vlan${var.vm_vlan}" # VNet used with VLAN ID
}
operating_system {