From 248bd83ed797f6e0f385e72a56aa7bafdf23d490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 17 Sep 2017 19:05:41 +0200 Subject: Enhance install script, and add ip6 address --- .../templates/services/en-dhcp.network.erb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/base_installation/templates/services/en-dhcp.network.erb (limited to 'modules/base_installation/templates/services/en-dhcp.network.erb') 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 @@ +[Match] +Name=en* + +[Network] +DHCP=ipv4 + +<%- unless @ip6.empty? -%> +Address=<%= @ip6["ipAddress"] %>/<%= @ip6["mask"] %> +Gateway=<%= @ip6["gateway"] %> +<%- end -%> + +[DHCP] +UseMTU=true -- cgit v1.2.3