From: Matt Domsch <mdomsch@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> --- configs/system/generic-network.conf.erb | 4 ++++ manifests/filetypes/interfaces.pp | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/configs/system/generic-network.conf.erb b/configs/system/generic-network.conf.erb index 07ece31..f4366dd 100644 --- a/configs/system/generic-network.conf.erb +++ b/configs/system/generic-network.conf.erb @@ -19,3 +19,7 @@ BRIDGE=<%= brname %> <% else -%> TYPE=Ethernet <% end -%> + +<% if ipv6addrs.length then -%> +IPV6ADDR_SECONDARIES="<%= ipv6addrs.map{|ip| ip }.join(" ") %>" +<% end -%> diff --git a/manifests/filetypes/interfaces.pp b/manifests/filetypes/interfaces.pp index 1a7f30e..29722f6 100644 --- a/manifests/filetypes/interfaces.pp +++ b/manifests/filetypes/interfaces.pp @@ -1,6 +1,6 @@ # Define ethernet devices (usually aliased) -define eth($ipaddr, $netmask) { +define eth($ipaddr, $netmask, $ipv6addrs=[]) { $bootproto='static' $device = $name $ethtype = "standard" -- 1.5.5.6 _______________________________________________ Fedora-infrastructure-list mailing list Fedora-infrastructure-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list