summaryrefslogtreecommitdiffstats
path: root/roles/pve-network/templates
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-06 01:49:45 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-06 01:49:45 +0200
commit09fbb2b1d86b8ad6671c746f3df997390f7a6293 (patch)
tree24cddc6e7b0ad6c18a320d215e67b9c6970ef246 /roles/pve-network/templates
parent0e7e66f00da0b37ef68cca0d13a1588a30cb9235 (diff)
Fix pve network setup
Diffstat (limited to 'roles/pve-network/templates')
-rw-r--r--roles/pve-network/templates/ethernet.nmconnection.j216
-rw-r--r--roles/pve-network/templates/vmbr0.nmconnection.j229
2 files changed, 0 insertions, 45 deletions
diff --git a/roles/pve-network/templates/ethernet.nmconnection.j2 b/roles/pve-network/templates/ethernet.nmconnection.j2
deleted file mode 100644
index 2aaa85b0..00000000
--- a/roles/pve-network/templates/ethernet.nmconnection.j2
+++ /dev/null
@@ -1,16 +0,0 @@
-[connection]
-id={{ pve_network_interface }}-bridge-port
-type=ethernet
-interface-name={{ pve_network_interface }}
-autoconnect=true
-controller=vmbr0
-port-type=bridge
-
-[ethernet]
-cloned-mac-address=permanent
-
-[ipv4]
-method=disabled
-
-[ipv6]
-method=disabled
diff --git a/roles/pve-network/templates/vmbr0.nmconnection.j2 b/roles/pve-network/templates/vmbr0.nmconnection.j2
deleted file mode 100644
index 013acd6a..00000000
--- a/roles/pve-network/templates/vmbr0.nmconnection.j2
+++ /dev/null
@@ -1,29 +0,0 @@
-[connection]
-id=vmbr0
-type=bridge
-interface-name=vmbr0
-autoconnect=true
-
-[bridge]
-stp=false
-
-[ipv4]
-method=manual
-addresses={{ network_ipv4_address }}/{{ network_ipv4_prefix | default(24) }}
-gateway={{ network_ipv4_gateway }}
-{% if network_ipv4_dns is defined %}
-dns={{ network_ipv4_dns }}
-{% endif %}
-
-[ipv6]
-addr-gen-mode=default
-{% if network_ipv6_address is defined %}
-method=manual
-addresses={{ network_ipv6_address }}
-gateway={{ network_ipv6_gateway }}
-{% if network_ipv6_dns is defined %}
-dns={{ network_ipv6_dns }}
-{% endif %}
-{% else %}
-method=disabled
-{% endif %}