Browse Source

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

Fixes QubesOS/qubes-issues#3251
Marek Marczykowski-Górecki 6 years ago
parent
commit
362e19349f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      qubes-rpc/qvm-copy-to-vm

+ 3 - 0
qubes-rpc/qvm-copy-to-vm

@@ -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