]> xn--ix-yja.es Git - alex.git/commitdiff
Allow customizing Proxmox interface
authoralex <alex@pdp7.net>
Sat, 14 Oct 2023 16:05:51 +0000 (18:05 +0200)
committeralex <alex@pdp7.net>
Sat, 14 Oct 2023 16:06:31 +0000 (18:06 +0200)
personal_infra/puppet/modules/proxmox/templates/interfaces.epp

index e0bfeceb4b5623e5c486836d8c1c85c4ceafa504..ccfe1b211b4b0d02198797856e120aabe5b053b5 100644 (file)
@@ -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'] %>