dvp/qvm-usb: support multiple appvms
This commit is contained in:
parent
d52a7774d4
commit
cf12c27d2c
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user