SSH into test vms on gce as 'vagrant' user
This commit is contained in:
1 parent
77bc22baf5
commit
33648b083c
1 file changed
+1
-1
+1
-1
@@ -140,7 +140,7 @@ function hosts {
|
|||||||
hosts="$hostname $hosts"
|
hosts="$hostname $hosts"
|
||||||
args="--add-host=$hostname:$(internal_ip $json $name) $args"
|
args="--add-host=$hostname:$(internal_ip $json $name) $args"
|
||||||
done
|
done
|
||||||
echo export SSH=ssh
|
echo export SSH=\"ssh -l vagrant\"
|
||||||
echo export HOSTS=\"$hosts\"
|
echo export HOSTS=\"$hosts\"
|
||||||
echo export ADD_HOST_ARGS=\"$args\"
|
echo export ADD_HOST_ARGS=\"$args\"
|
||||||
rm $json
|
rm $json
|
||||||
|
|||||||
Reference in new issue
Block a user