[molecules] serverbase: switch back to NetworkManager (it is required by Anaconda, it must be running)

This commit is contained in:
Fabio Erculiani 2011-07-03 10:37:52 +02:00
parent cfd3e65909
commit 6cbf0b00ca
2 changed files with 4 additions and 5 deletions

View File

@ -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
# 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
# before entering it (and AFTER inner_chroot_script)

View File

@ -1,15 +1,14 @@
#!/bin/sh
# For Spins without X.Org
flavour="${1}"
rc-update del installer-gui boot
rc-update del x-setup boot
rc-update del hald boot
rc-update del NetworkManager default
rc-update del avahi-daemon default
# A RUNNING NetworkManager is required by Anaconda !!
# 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
rm -rf /install-data