qvm-copy-to-vm: use --service option
qvm-run got --service option, so use it. Old method doesn't work anymore, because qubes.VMShell service is used, instead of qrexec command directly.
This commit is contained in:
parent
005fed6cdf
commit
2fb94bd3e6
@ -36,7 +36,7 @@ mkfifo -- "$RESPONSE"
|
||||
|
||||
# can't use $@ with --localcmd, and $* would fail on whitespace
|
||||
/usr/lib/qubes/qfile-dom0-agent "$@" <"$RESPONSE" |
|
||||
qvm-run --pass-io "$VM" "QUBESRPC qubes.Filecopy dom0" >"$RESPONSE"
|
||||
qvm-run --pass-io --service "$VM" "qubes.Filecopy" >"$RESPONSE"
|
||||
|
||||
if [ "${0##*/}" = "qvm-move-to-vm" ]; then
|
||||
rm -rf -- "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user