Skip to content

Commit

Permalink
Fix bug with ~ not being evaluated.
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Jan 16, 2019
1 parent 2dc9457 commit e66fc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/welcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def migrate():
d.msgbox("The destination cannot be the same as this VM IP address ({})".format(destination))
return
if option == "Send":
command = r"rsync -az --progress -e 'ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/gns3-vm-key' /opt/gns3 gns3@{}:/opt".format(destination)
command = r"rsync -az --progress -e 'ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /home/gns3/.ssh/gns3-vm-key' /opt/gns3 gns3@{}:/opt".format(destination)
ret = os.system('bash -c "{}"'.format(command))
time.sleep(10)
if ret != 0:
Expand Down

0 comments on commit e66fc34

Please sign in to comment.