Add hint to use qvm-copy/qvm-move instead of qvm-*-to-vm

Fixes QubesOS/qubes-issues#3251
This commit is contained in:
Marek Marczykowski-Górecki 2017-12-13 02:51:41 +01:00
parent 4d51ea9387
commit 362e19349f
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -42,6 +42,9 @@ if [ $PROGRESS_TYPE = console ] ; then
export FILECOPY_TOTAL_SIZE
fi
echo "qvm-copy-to-vm/qvm-move-to-vm tools are deprecated," >&2
echo "use qvm-copy/qvm-move to avoid typing target qube name twice" >&2
/usr/lib/qubes/qrexec-client-vm "$VM" qubes.Filecopy /usr/lib/qubes/qfile-agent "$@"
if [ "${0##*/}" = "qvm-move-to-vm" ]; then