vm: minor fixes for Fedora 15

1. create /var/run/qubes as /var/run is now on tmpfs
2. if system-d is present - use it to disable NetworkManager
This commit is contained in:
Marek Marczykowski 2011-09-27 01:37:09 +02:00
parent e09290b82b
commit 0b746bbf70
2 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,8 @@ start()
# xenstore-read fails
INTERFACE=eth0 /usr/lib/qubes/setup_ip
mkdir -p /var/run/qubes
if [ -e /dev/xvdb ] ; then
mount /rw

View File

@ -170,6 +170,8 @@ do
chkconfig $srv off
done
[ -x /bin/systemctl ] && /bin/systemctl disable NetworkManager.service
#echo "--> Enabling essential services..."
chkconfig rsyslog on
chkconfig haldaemon on