vm: try to load pvops modules

This commit is contained in:
Marek Marczykowski 2011-09-08 01:06:39 +02:00
parent 766183da60
commit a092d1234d
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
modprobe evtchn
modprobe evtchn 2>/dev/null || modprobe xen-evtchn

View File

@ -26,7 +26,7 @@ start()
gateway=$(/usr/bin/xenstore-read qubes_netvm_gateway)
netmask=$(/usr/bin/xenstore-read qubes_netvm_netmask)
secondary_dns=$(/usr/bin/xenstore-read qubes_netvm_secondary_dns)
modprobe netbk
modprobe netbk 2> /dev/null || modprobe xen-netback
echo "NS1=$gateway" > /var/run/qubes/qubes_ns
echo "NS2=$secondary_dns" >> /var/run/qubes/qubes_ns
/usr/lib/qubes/qubes_setup_dnat_to_ns