Bug 920470 - [RFE] add support for DHCP networks in addition to static ones
Summary: [RFE] add support for DHCP networks in addition to static ones
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 0.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.17
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard: Kickstart
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-12 07:55 UTC by Jaroslav Kortus
Modified: 2018-02-06 00:41 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-10 23:28:22 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 950592 0 medium CLOSED RFE: beaker: allow configuration of multiple NICs using kickstart metadata. 2021-02-22 00:41:40 UTC

Internal Links: 950592

Description Jaroslav Kortus 2013-03-12 07:55:55 UTC
Description of problem:
one can specify static_networks in kickstart metadata to have automatically set up specific networks on defined interfaces.

I was not able to find a way how to set up a DHCP assignment on these networks. So my proposal is to add dhcp_networks to the network snippet like this:

{% if dhcp_networks %}
{% for device in dhcp_networks|split(';') %}
network --bootproto=dhcp --device={{ device }}
{% endfor %}
{% endif %}

That accepts dhcp_networks="MAC1;MAC2;...;MACn" and sets them up as DHCP interfaces.

Version-Release number of selected component (if applicable):
0.11.3

Comment 1 Dan Callaghan 2013-03-12 22:26:51 UTC
(In reply to comment #0)
> network --bootproto=dhcp --device={{ device }}

Hmmm, I don't understand why this is necessary. Isn't DHCP the default? What does anaconda do differently if this line is present vs. absent?

From my reading of:
http://fedoraproject.org/wiki/Anaconda/Kickstart#network
it seems like this should make no difference.

Comment 2 Jaroslav Kortus 2013-03-13 09:19:24 UTC
They are set up as DHCP, but disabled (ONBOOT=no).

Comment 3 Dan Callaghan 2013-03-13 22:16:10 UTC
Okay, I see.

Comment 5 Dan Callaghan 2014-05-27 02:17:19 UTC
On Gerrit: http://gerrit.beaker-project.org/3107

Comment 7 Dan Callaghan 2014-05-29 07:02:19 UTC
The development version of the docs have been updated to include this ksmeta variable:

https://beaker-project.org/docs-develop/user-guide/customizing-installation.html#kickstart-metadata

Comment 9 Dan Callaghan 2014-06-10 23:28:22 UTC
Beaker 0.17.0 has been released.


Note You need to log in before you can comment on or make changes to this bug.