Re: [PATCH V2] pykickstart: don't set bootProto if --noipv4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> If we specify a ipv6 only network configuration we still get bootproto=dhcp set,
> which during kickstart makes networkmanager try to do a ipv4 dhcp which takes a
> while to timeout.  We don't want bootproto=dhcp set when we specify --noipv4, so
> make sure it gets zero'ed out when we see that command.
> 
> Signed-off-by: Josef Bacik <jbacik@xxxxxx>
> ---
> V1-V2: only change --noipv4 behavior for F24 and onwards.
> 
>  pykickstart/commands/network.py | 13 +++++++++++++
>  pykickstart/handlers/f24.py     |  2 +-
>  tests/commands/network.py       | 14 ++++++++++++++
>  3 files changed, 28 insertions(+), 1 deletion(-)

Looks good to me.  Remember in anaconda you will have to update
kickstart.py to use the F24_Network class.

- Chris

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux