qvm-run-vm: add +WaitForSession for modern @dispvm syntax too
This commit is contained in:
parent
f023afdaa0
commit
5c7d06b46e
@ -31,7 +31,8 @@ this tool does not propagate standard error or exit codes, nor does it offer
|
||||
protection against the remote VM messing with your terminal if standard output
|
||||
is your terminal.
|
||||
|
||||
You can use \$dispvm or --dispvm instead of vmname to start a new DisposableVM.
|
||||
You can use @dispvm or \$dispvm or --dispvm instead of vmname to start a new
|
||||
DisposableVM.
|
||||
USAGE
|
||||
}
|
||||
|
||||
@ -51,7 +52,7 @@ elif [ "$VMNAME" = "" ] ; then
|
||||
fi
|
||||
|
||||
service="qubes.VMShell"
|
||||
case "$VMNAME" in \$dispvm|\$dispvm:*)
|
||||
case "$VMNAME" in [@$]dispvm|[@$]dispvm:*)
|
||||
service="$service+WaitForSession"
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user