[PATCH rhel7-branch] network ks: allow setting only hostname with network command (#1051564)
Vratislav Podzimek
vpodzime at redhat.com
Mon Jan 13 16:30:44 UTC 2014
On Mon, 2014-01-13 at 14:10 +0100, Radek Vykydal wrote:
> Resolves: rhbz#1051564
>
> For
>
> network --hostname blah
>
> command try to supply --device and use defaults (dhcp) only if ksdevice boot
> option is explicitly set (using the ksdevice, which is legacy behaviour for
> missing --device). Without the patch, device used to fetch kickstart would be
> used)
>
> Also consolidate code for handling network --device specification (MAC address,
> etc..).
> ---
> dracut/fetch-kickstart-net.sh | 3 --
> dracut/parse-kickstart | 4 ++
> pyanaconda/network.py | 100 +++++++-----------------------------------
> 3 files changed, 21 insertions(+), 86 deletions(-)
Looks good, nice +/- stats! ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list