aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-10-14 18:05:51 +0200
committeralex <alex@pdp7.net>2023-10-14 18:06:31 +0200
commit84101941275103fc43b820c9948503050f39f087 (patch)
treee4e1de49c325cb36aea22f786f73e536c1f201be /personal_infra/puppet
parentda338069201d5894707019dc66844409d0fe3935 (diff)
Allow customizing Proxmox interface
Diffstat (limited to 'personal_infra/puppet')
-rw-r--r--personal_infra/puppet/modules/proxmox/templates/interfaces.epp1
1 files changed, 1 insertions, 0 deletions
diff --git a/personal_infra/puppet/modules/proxmox/templates/interfaces.epp b/personal_infra/puppet/modules/proxmox/templates/interfaces.epp
index e0bfeceb..ccfe1b21 100644
--- a/personal_infra/puppet/modules/proxmox/templates/interfaces.epp
+++ b/personal_infra/puppet/modules/proxmox/templates/interfaces.epp
@@ -16,3 +16,4 @@ iface vmbr0 inet static
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '<%= $network['proxmox']['network'] %>' -o eno1 -j MASQUERADE
+<%= $network['proxmox']['extra_interfaces_content'] %>