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:
parent
e09290b82b
commit
0b746bbf70
@ -32,6 +32,8 @@ start()
|
|||||||
# xenstore-read fails
|
# xenstore-read fails
|
||||||
INTERFACE=eth0 /usr/lib/qubes/setup_ip
|
INTERFACE=eth0 /usr/lib/qubes/setup_ip
|
||||||
|
|
||||||
|
mkdir -p /var/run/qubes
|
||||||
|
|
||||||
if [ -e /dev/xvdb ] ; then
|
if [ -e /dev/xvdb ] ; then
|
||||||
mount /rw
|
mount /rw
|
||||||
|
|
||||||
|
@ -170,6 +170,8 @@ do
|
|||||||
chkconfig $srv off
|
chkconfig $srv off
|
||||||
done
|
done
|
||||||
|
|
||||||
|
[ -x /bin/systemctl ] && /bin/systemctl disable NetworkManager.service
|
||||||
|
|
||||||
#echo "--> Enabling essential services..."
|
#echo "--> Enabling essential services..."
|
||||||
chkconfig rsyslog on
|
chkconfig rsyslog on
|
||||||
chkconfig haldaemon on
|
chkconfig haldaemon on
|
||||||
|
Loading…
Reference in New Issue
Block a user