RE: help with network configuration

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

 



From: Gianluca Varenni [mailto:gianluca.varenni@xxxxxxxxx]
Is there a way in the kickstart configuration file to tell anaconda to configure the network interfaces with some parameters (e.g. DHCP vs static IP, onboot…) but do *not* bring them up during installation (so in practice just write the ifcfg-ethX files)?

I tried with

 

network  --bootproto=dhcp --device=eth0 -- –hostname=myhost

 

but the problem is that during the installation it tries to bring eth0 up and get the IP address (eventually timing out).

If I don’t put that line in the kickstart file, all the interfaces are silently configured for DHCP and and the hostname is not configured.

 

Don’t configure the network in the kickstart and write the hostname configuration from the %post section; or configure a dummy IP with the network option  then edit the network configuration in %post?

 

 

Moray.
"To err is human.  To purr, feline"

 

 

_______________________________________________
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