Do not start NetworkManager from dom0 qubes_netvm script
Mark it for auto-start instead by the system scripts
This commit is contained in:
parent
bd77f21a39
commit
c95fd449b7
@ -30,7 +30,6 @@ start()
|
||||
elif [ $NETVM = "dom0" ] ; then
|
||||
|
||||
echo -n $"Setting up net backend in Dom0:"
|
||||
/etc/init.d/NetworkManager start
|
||||
brctl addbr br0 || exit 1
|
||||
ifconfig br0 10.0.0.1 netmask 255.255.0.0 up || exit 1
|
||||
ifconfig br0:1 10.0.255.254 netmask 255.255.0.0 up || exit 1
|
||||
|
@ -97,6 +97,7 @@ cp init.d/iptables $RPM_BUILD_ROOT/etc/sysconfig
|
||||
%post
|
||||
|
||||
chkconfig iptables on
|
||||
chkconfig NetworkManager on
|
||||
sed 's/^net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/' -i /etc/sysctl.conf
|
||||
|
||||
if [ "$1" != 1 ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user