qvm-run (in vm): accept --dispvm argument

This commit is contained in:
Rafal Wojtczuk 2011-08-29 17:34:15 +02:00
parent 890030354d
commit 98ca80a981

View File

@ -26,4 +26,7 @@ if [ $# -lt 2 ] ; then
fi fi
VMNAME=$1 VMNAME=$1
shift shift
if [ $VMNAME = "--dispvm" ] ; then
VMNAME='$dispvm'
fi
exec /usr/lib/qubes/qrexec_client_vm $VMNAME qubes.VMShell "/usr/lib/qubes/qrun-in-vm" "$@" exec /usr/lib/qubes/qrexec_client_vm $VMNAME qubes.VMShell "/usr/lib/qubes/qrun-in-vm" "$@"