summaryrefslogtreecommitdiff
path: root/roles/install_arch/templates
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-12 21:45:08 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-12 21:45:08 +0100
commita917b1e1137c1ad149cefcc73325e8901857d489 (patch)
tree1e19a0d7fb42d5331007402a9a4329cd680c7cca /roles/install_arch/templates
parent840b169cd59bac476e99b3f4310752904c79e3bf (diff)
added install_arch role
Diffstat (limited to 'roles/install_arch/templates')
-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'] }}
+