summaryrefslogtreecommitdiff
path: root/roles/install_arch/templates/ens3.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_arch/templates/ens3.j2')
-rw-r--r--roles/install_arch/templates/ens3.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/install_arch/templates/ens3.j2 b/roles/install_arch/templates/ens3.j2
new file mode 100644
index 0000000..314bd00
--- /dev/null
+++ b/roles/install_arch/templates/ens3.j2
@@ -0,0 +1,10 @@
+Connection=ethernet
+Interface=ens3
+IP=static
+Address=({{ ansible_default_ipv4['address'] }}/24)
+{# TODO: fix /24 #}
+Gateway={{ ansible_default_ipv4['gateway'] }}
+IP6=static
+Address6=({{ ansible_default_ipv6['address'] }}/{{ ansible_default_ipv6['prefix'] }})
+Gateway6={{ ansible_default_ipv6['gateway'] }}
+