From c0441f19a29dd5f199c7471de6d5f2ea8d82631a Mon Sep 17 00:00:00 2001 From: Alexandre Bezroutchko Date: Fri, 12 Oct 2012 22:03:54 +0200 Subject: [PATCH] dvp/qvm-usb: support multiple appvms --- install-pvusb.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install-pvusb.sh b/install-pvusb.sh index 40c6ca05..8e2e0b3a 100755 --- a/install-pvusb.sh +++ b/install-pvusb.sh @@ -2,10 +2,10 @@ #usbvm=usbvm usbvm= -appvm=netvm +appvms="netvm qdvp" # --- 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' done @@ -28,4 +28,7 @@ else fi # --- Init appvm --------------------------------------------------------- -qvm-run -p $appvm 'script -qc "cd qubes-core && sudo ./install-pvusb-frontend.sh" /dev/null' +for appvm in $appvms ; do + qvm-run -p $appvm 'script -qc "cd qubes-core && sudo ./install-pvusb-frontend.sh" /dev/null' +done +