mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(tf): networking updates
This commit is contained in:
parent
a26b0fb337
commit
8b0a33933b
3 changed files with 17 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
net.ipv6.conf.vmbr0.disable_ipv6=0
|
||||
net.ipv6.conf.vmbr0.use_tempaddr=1
|
||||
net.ipv6.conf.vmbr0.accept_ra_rt_info_max_plen=128
|
||||
net.ipv4.ping_group_range=0 2147483647
|
||||
|
|
|
|||
|
|
@ -50,6 +50,9 @@ module "aya_system_records" {
|
|||
name = "aya"
|
||||
zone_id = cloudflare_zone.gensokyo-zone_zone.id
|
||||
zone_zone = cloudflare_zone.gensokyo-zone_zone.zone
|
||||
tailscale_v4 = "100.109.213.94"
|
||||
tailscale_v6 = "fd7a:115c:a1e0::eaed:d55e"
|
||||
local_v4 = "10.1.1.47"
|
||||
local_v6 = "fd0a::be24:11ff:fec4:66a9"
|
||||
local_subdomains = [
|
||||
"nixbld",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
variable "proxmox_container_template" {
|
||||
type = string
|
||||
default = "local:vztmpl/ct-20240205-nixos-system-x86_64-linux.tar.xz"
|
||||
default = "local:vztmpl/ct-20240211-nixos-system-x86_64-linux.tar.xz"
|
||||
}
|
||||
|
||||
locals {
|
||||
|
|
@ -143,6 +143,14 @@ resource "proxmox_virtual_environment_container" "aya" {
|
|||
gateway = "10.1.1.1"
|
||||
}
|
||||
}
|
||||
ip_config {
|
||||
ipv6 {
|
||||
address = "auto"
|
||||
}
|
||||
ipv4 {
|
||||
address = "dhcp"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
startup {
|
||||
|
|
@ -155,6 +163,10 @@ resource "proxmox_virtual_environment_container" "aya" {
|
|||
name = "eth0"
|
||||
mac_address = "BC:24:11:C4:66:A9"
|
||||
}
|
||||
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