art: script fix for ssh-copy-id
The command expects -o flags before user@hostname.
Test: verified with a manual run
(Failed before this patch)
$ art/tools/buildbot-vm.sh setup-ssh
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: ERROR: ssh: Could not resolve hostname localhost -o identityagent=none: Name or service not known
(Succeeded with this patch)
$ art/tools/buildbot-vm.sh setup-ssh
...
Number of key(s) added: 1
Change-Id: I8e455a0eb2467f7dc474216e3abb87adfd9d87bd
1 file changed