Created attachment 854023 [details] anaconda.ifcfg.log Description of problem: During kickstart with a static IP address and a netmask of 255.255.252.0, Anaconda does not put the NETMASK entry into the ifcfg file. Version-Release number of selected component (if applicable): anaconda 20.25.15-1 How reproducible: Always Steps to Reproduce: 1. Create a kickstart file with a static IP address and a non-default netmask. 2. Install the system Actual results: The generated ifcfg file does not include a NETMASK entry. Expected results: The entry should be there. Additional info: This is the network statement in the kickstart file: network --bootproto static --ip 192.168.23.0 --netmask 255.255.252.0 --gateway 192.168.20.1 --nameserver 192.168.20.4 The attached file anaconda.ifcfg.log shows that the NETMASK entry at first was generated correctly. A later pass through the file added the suffix "0" to the entries IPADDR and GATEWAY and dropped the NETMASK entry.
Created attachment 854024 [details] anaconda.log
Sorry, I realized that this isn't a bug. I didn't know that PREFIX had the same effect as NETMASK. The problem was caused by me replacing "IPADDR0=" with "IPADDR=" when changing the IP address with a script.