dvp/qvm-usb: support multiple appvms

This commit is contained in:
Alexandre Bezroutchko 2012-10-12 22:03:54 +02:00
parent d52a7774d4
commit cf12c27d2c

View File

@ -2,10 +2,10 @@
#usbvm=usbvm #usbvm=usbvm
usbvm= usbvm=
appvm=netvm appvms="netvm qdvp"
# --- Copy files --------------------------------------------------------- # --- Copy files ---------------------------------------------------------
for vm in $usbvm $appvm ; do for vm in $usbvm $appvms ; do
(cd .. && tar c qubes-core) | qvm-run -p $vm 'tar x' (cd .. && tar c qubes-core) | qvm-run -p $vm 'tar x'
done done
@ -28,4 +28,7 @@ else
fi fi
# --- Init appvm --------------------------------------------------------- # --- Init appvm ---------------------------------------------------------
for appvm in $appvms ; do
qvm-run -p $appvm 'script -qc "cd qubes-core && sudo ./install-pvusb-frontend.sh" /dev/null' qvm-run -p $appvm 'script -qc "cd qubes-core && sudo ./install-pvusb-frontend.sh" /dev/null'
done