liveusb: use qvm-pci --offline-mode

It is called before libvirtd start.
This commit is contained in:
Marek Marczykowski-Górecki 2015-08-03 04:49:47 +02:00
parent 1c1d8ba478
commit 0b3058b1b7
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -103,7 +103,7 @@ if ! strstr "`cat /proc/cmdline`" nopersistenthome && [ -n "$homedev" ] ; then
fi fi
for dev in $(/sbin/lspci -mm -n | sed -ne 's/^\([0-9][0-9]:[0-9][0-9].[0-9]\) "02.*/\1/p'); do for dev in $(/sbin/lspci -mm -n | sed -ne 's/^\([0-9][0-9]:[0-9][0-9].[0-9]\) "02.*/\1/p'); do
/usr/bin/qvm-pci -a sys-net $dev /usr/bin/qvm-pci --offline-mode -a sys-net $dev
done done
if [ -n "$configdone" ]; then if [ -n "$configdone" ]; then