[molecules] serverbase: switch back to NetworkManager (it is required by Anaconda, it must be running)
This commit is contained in:
parent
cfd3e65909
commit
6cbf0b00ca
@ -20,7 +20,7 @@ inner_chroot_script: /sabayon/scripts/remaster_generic_inner_chroot_script.sh
|
|||||||
|
|
||||||
# Inner chroot script command, to be executed inside destination chroot after
|
# Inner chroot script command, to be executed inside destination chroot after
|
||||||
# packages installation and removal
|
# packages installation and removal
|
||||||
inner_chroot_script_after: /sabayon/scripts/remaster_nox_inner_chroot_script_after.sh serverbase
|
inner_chroot_script_after: /sabayon/scripts/remaster_serverbase_inner_chroot_script_after.sh
|
||||||
|
|
||||||
# Outer chroot script command, to be executed outside destination chroot before
|
# Outer chroot script command, to be executed outside destination chroot before
|
||||||
# before entering it (and AFTER inner_chroot_script)
|
# before entering it (and AFTER inner_chroot_script)
|
||||||
|
@ -1,15 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# For Spins without X.Org
|
|
||||||
flavour="${1}"
|
|
||||||
|
|
||||||
rc-update del installer-gui boot
|
rc-update del installer-gui boot
|
||||||
rc-update del x-setup boot
|
rc-update del x-setup boot
|
||||||
rc-update del hald boot
|
rc-update del hald boot
|
||||||
rc-update del NetworkManager default
|
|
||||||
rc-update del avahi-daemon default
|
rc-update del avahi-daemon default
|
||||||
|
|
||||||
|
# A RUNNING NetworkManager is required by Anaconda !!
|
||||||
# re-enable rc_hotplug
|
# re-enable rc_hotplug
|
||||||
sed -i 's:^rc_hotplug=.*:rc_hotplug="*":g' /etc/rc.conf
|
# sed -i 's:^rc_hotplug=.*:rc_hotplug="*":g' /etc/rc.conf
|
||||||
|
# rc-update del NetworkManager default
|
||||||
|
|
||||||
# install-data dir is really not needed
|
# install-data dir is really not needed
|
||||||
rm -rf /install-data
|
rm -rf /install-data
|
Loading…
Reference in New Issue
Block a user