mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat: internal bridge
This commit is contained in:
parent
5f36636902
commit
1d1dc64ef5
4 changed files with 78 additions and 0 deletions
|
|
@ -143,6 +143,14 @@ EOT
|
|||
gateway = "10.1.1.1"
|
||||
}
|
||||
}
|
||||
ip_config {
|
||||
ipv6 {
|
||||
address = "${cidrhost(local.reisen_int_prefix6, local.proxmox_mediabox_vm_id - local.reisen_int_offset)}/64"
|
||||
}
|
||||
ipv4 {
|
||||
address = "${cidrhost(local.reisen_int_prefix4, local.proxmox_mediabox_vm_id - local.reisen_int_offset)}/24"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
startup {
|
||||
|
|
@ -155,6 +163,11 @@ EOT
|
|||
name = "eth0"
|
||||
mac_address = "BC:24:11:34:F4:A8"
|
||||
}
|
||||
network_interface {
|
||||
name = "eth9"
|
||||
mac_address = "BC:24:19:34:F4:A8"
|
||||
bridge = proxmox_virtual_environment_network_linux_bridge.internal.name
|
||||
}
|
||||
|
||||
operating_system {
|
||||
template_file_id = var.proxmox_container_template
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue