summaryrefslogtreecommitdiffstats
path: root/roles/pve/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/templates
parent0e7e66f00da0b37ef68cca0d13a1588a30cb9235 (diff)
Fix pve network setup
Diffstat (limited to 'roles/pve/templates')
-rw-r--r--roles/pve/templates/hosts.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/pve/templates/hosts.j2 b/roles/pve/templates/hosts.j2
new file mode 100644
index 00000000..5cebad3c
--- /dev/null
+++ b/roles/pve/templates/hosts.j2
@@ -0,0 +1,5 @@
+127.0.0.1 localhost
+{{ network_ipv4_address }} {{ ansible_facts['hostname'] }}
+::1 localhost ip6-localhost ip6-loopback
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters