Hide Forgot
The kickstart docs: https://github.com/rhinstaller/pykickstart/blob/master/docs/kickstart-docs.rst#network claim this: "--activate Activate this device in the installation environment. If the device has already been activated (for example, an interface you configured with boot options so that the system could retrieve the Kickstart file) the device is reactivated to use the configuration specified in the Kickstart file." However, it seems to be a lie. If I run an install using a kickstart that specifies a static network configuration, and uses --activate: network --device=link --activate --bootproto=static --ip=192.168.1.105 --netmask=255.255.255.0 --gateway=192.168.1.1 --hostname=client001.happyassassin.net --nameserver=192.168.1.1 but retrieve the kickstart over the network - so dracut has to activate the adapter in order to retrieve it - anaconda does *not* reconfigure the interface as the docs claim it will. It just sticks with the configuration dracut got via DHCP. If I check the interface config while the install is in progress, I see it has a DHCP-assigned IP address, not 192.168.1.105. This is a real problem when I'm testing FreeIPA client enrolment via kickstart; any old network configuration will suffice to retrieve the kickstart, but in order to actually enrol into the domain, we have to use a specific DNS server and hostname. So because anaconda doesn't reconfigure the network, I have to pass the same static configuration to dracut using its horrible, horrible configuration syntax, which I inevitably get wrong about ten times until I read wwoods' instructions again carefully. I most recently re-checked this with Fedora-Server-dvd-x86_64-25-20160907.n.0.iso , but it's actually been broken for years, since I started testing FreeIPA enrolment at least. I used to think it was just an unfortunate limitation of anaconda, but the other day I noticed the docs actually claim that re-initialization should happen, which makes it a bug. ;)
Looking in /etc/sysconfig/network-scripts (of the installer environment, not the installed system root) while the install is in progress, there is an ifcfg-ens3 file with the right settings in there. But I guess it's never properly loaded/applied? The NetworkManager journal output shows it basically accepting the existing DHCP configuration.
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.