Why does static network configuration in kickstart not applied after installation in Red Hat Enterprise Linux 7?
Issue
- The kickstart file includes
%presection to generate/tmp/buildnetwith the static network configuration. - The kickstart file is in HTTP server.
- After installation, the static network configuration is not reflected. It's using dhcp with
BOOTPROTO=dhcp in ifcfg-*configuration file. - Also the files /etc/sysconfig/network-scripts/ifcfg-eth0 contains entries with 0 appended as follows which makes network down as well.
IPADDR0=192.168.0.1
PREFIX0=24
GATEWAY0=192.168.0.254
Environment
- Red Hat Enterprise Linux 7
- NetworkManager
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
