Project

General

Profile

Actions

Bug #22777

open

Default template kickstart_ifcfg_generic_interface ignores ipv6 DNS

Added by Lukas Plattner about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

The default template does not respect DNS-servers kickstart_ifcfg_generic_interface

With

<%- if @interface.primary -%>
<%-   if !@dhcp && @subnet && @subnet.dns_primary.present? -%>
<%=     "DNS1=\"#{@subnet.dns_primary}\"" %>
<%-     if @subnet.dns_secondary.present? -%>
<%=       "DNS2=\"#{@subnet.dns_secondary}\"" %>
<%-     end -%>
<%-   end -%>
<%- end -%>

are those of the ipv4 added but there is no block for ipv6.

Actions

Also available in: Atom PDF