mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat: internal bridge
This commit is contained in:
parent
5f36636902
commit
1d1dc64ef5
4 changed files with 78 additions and 0 deletions
|
|
@ -1,4 +1,8 @@
|
|||
locals {
|
||||
reisen_int_prefix4 = "10.9.1.0/24"
|
||||
reisen_int_prefix6 = "fd0c::/64"
|
||||
reisen_int_offset = 32
|
||||
|
||||
proxmox_reisen_connection = {
|
||||
type = "ssh"
|
||||
user = var.proxmox_reisen_ssh_username
|
||||
|
|
@ -60,3 +64,11 @@ resource "terraform_data" "proxmox_reisen_users" {
|
|||
]
|
||||
}
|
||||
}
|
||||
|
||||
resource "proxmox_virtual_environment_network_linux_bridge" "internal" {
|
||||
node_name = "reisen"
|
||||
name = "vmbr9"
|
||||
address = "${cidrhost(local.reisen_int_prefix4, 2)}/24"
|
||||
address6 = "${cidrhost(local.reisen_int_prefix6, 2)}/64"
|
||||
comment = "internal private network"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue