mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
fix(tf): work around provider bugs
This commit is contained in:
parent
c61220b641
commit
d94e7e9f7b
3 changed files with 10 additions and 9 deletions
|
|
@ -325,8 +325,6 @@ EOT
|
|||
gateway = "10.1.1.1"
|
||||
}
|
||||
}
|
||||
# empty block required if additional interfaces are added, but causes state sync issues
|
||||
ip_config {}
|
||||
ip_config {
|
||||
ipv6 {
|
||||
address = "${cidrhost(local.reisen_int_prefix6, local.proxmox_aya_vm_id - local.reisen_int_offset)}/64"
|
||||
|
|
@ -335,6 +333,8 @@ EOT
|
|||
address = "${cidrhost(local.reisen_int_prefix4, local.proxmox_aya_vm_id - local.reisen_int_offset)}/24"
|
||||
}
|
||||
}
|
||||
# empty block causes state sync issues
|
||||
#ip_config {}
|
||||
}
|
||||
|
||||
startup {
|
||||
|
|
@ -347,15 +347,15 @@ EOT
|
|||
name = "eth0"
|
||||
mac_address = "BC:24:11:C4:66:A9"
|
||||
}
|
||||
network_interface {
|
||||
name = "eth1"
|
||||
mac_address = "BC:24:11:C4:66:AA"
|
||||
}
|
||||
network_interface {
|
||||
name = "eth9"
|
||||
mac_address = "BC:24:19:C4:66:A9"
|
||||
bridge = proxmox_virtual_environment_network_linux_bridge.internal.name
|
||||
}
|
||||
network_interface {
|
||||
name = "eth1"
|
||||
mac_address = "BC:24:11:C4:66:AA"
|
||||
}
|
||||
|
||||
operating_system {
|
||||
template_file_id = var.proxmox_container_template
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue