lorax: disable networking during install...

...even if NetworkManager is running.
Actually it is started by anaconda (and needed to provide D-Bus
interface) even if service disabled in systemd configuration.
This commit is contained in:
Marek Marczykowski 2013-02-13 13:45:57 +01:00
parent 7b95364c17
commit ec41543c32
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,2 @@
[main]
NetworkingEnabled=false

View File

@ -49,6 +49,9 @@ install ${configdir}/sysctl.conf etc/sysctl.d/anaconda.conf
install ${configdir}/selinux.config etc/selinux/config
%endif
## disable NetworkManager
install ${configdir}/NetworkManager.state var/lib/NetworkManager/NetworkManager.state
## set up sshd
install ${configdir}/sshd_config.anaconda etc/ssh
install ${configdir}/pam.sshd etc/pam.d/sshd