Project

General

Profile

Actions

Feature #3695

closed

Add a device name to additional host interfaces

Added by Ewoud Kohl van Wijngaarden about 11 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

https://fedoraproject.org/wiki/Anaconda/Kickstart#network mentions a --device parameter, but I can't find a field for this in the host creation. Adding this field will make provisioning using multiple interfaces much easier. Adding this could also help with ignoring some interfaces while kickstarting and just be a simple additional IP. The mac address should also become optional if the device name is empty for this to happen.

Something like this: (you might need to figure out something with the gateway because of default linux routing)

network --bootproto <%= @static ? "static --ip=#{@host.ip} --netmask=#{@host.subnet.mask} --gateway=#{@host.subnet.gateway} --nameserver=#{[@host.subnet.dns_primary,@host.subnet.dns_secondary].reject{|n| n.blank?}.join(',')}" : "dhcp" %> --hostname <%= @host %>
<% @host.interfaces.each do |i| -%>
<% unless i.device.empty -%>
network --bootproto static --device <%= i.device + " --ip " + i.ip + " --netmask " + i.subnet.mask + " --gateway " + i.subnet.gateway %>
<% end -%>
<% end -%>

Related issues 3 (1 open2 closed)

Related to Foreman - Feature #2240: Full Multiple Interface SupportClosed02/20/2013Actions
Related to Foreman - Tracker #2409: NetworkingNew

Actions
Blocked by Foreman - Refactor #7456: Extract primary interface from hostClosedGreg Sutcliffe09/16/2014Actions
Actions #1

Updated by Dominic Cleal about 11 years ago

  • Related to Feature #2240: Full Multiple Interface Support added
Actions #2

Updated by Marek Hulán over 10 years ago

Actions #3

Updated by Marek Hulán over 10 years ago

  • Blocked by Refactor #7456: Extract primary interface from host added
Actions #4

Updated by Marek Hulán almost 10 years ago

  • Category set to Network
  • Status changed from New to Resolved
  • Translation missing: en.field_release set to 28

after discussion with reporter, this should be possible today as we configure interfaces in %post and for multiple IPs we can use Aliases, therefore closing as resolved

Actions

Also available in: Atom PDF