aboutsummaryrefslogtreecommitdiff
path: root/modules/base_installation/templates/services/en-dhcp.network.erb
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2017-09-17 19:05:41 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2017-09-18 00:22:19 +0200
commit248bd83ed797f6e0f385e72a56aa7bafdf23d490 (patch)
tree29cd0d69b73b34d6d12ebe354be9d1d616983e3f /modules/base_installation/templates/services/en-dhcp.network.erb
parent503e4cf5c54e3fe4b802038e8917341c4ce803e5 (diff)
downloadPuppet-248bd83ed797f6e0f385e72a56aa7bafdf23d490.tar.gz
Puppet-248bd83ed797f6e0f385e72a56aa7bafdf23d490.tar.zst
Puppet-248bd83ed797f6e0f385e72a56aa7bafdf23d490.zip
Enhance install script, and add ip6 address
Diffstat (limited to 'modules/base_installation/templates/services/en-dhcp.network.erb')
-rw-r--r--modules/base_installation/templates/services/en-dhcp.network.erb13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/base_installation/templates/services/en-dhcp.network.erb b/modules/base_installation/templates/services/en-dhcp.network.erb
new file mode 100644
index 0000000..4f55582
--- /dev/null
+++ b/modules/base_installation/templates/services/en-dhcp.network.erb
@@ -0,0 +1,13 @@
1[Match]
2Name=en*
3
4[Network]
5DHCP=ipv4
6
7<%- unless @ip6.empty? -%>
8Address=<%= @ip6["ipAddress"] %>/<%= @ip6["mask"] %>
9Gateway=<%= @ip6["gateway"] %>
10<%- end -%>
11
12[DHCP]
13UseMTU=true