Fix WEAVE_NO_FASTDP test on GCE

This commit is contained in:
Adam Harrison authored and Matthias Radestock committed 2016-02-02 20:48:49 +00:00
1 parent e3c19d6414
commit 4117ef0c50
2 files changed
+2 -5

No files matched your search

-3
View File
@@ -135,17 +135,14 @@ function make_template {
function hosts {
hosts=
args=
json=$(mktemp json.XXXXXXXXXX)
gcloud compute instances list --format=json >$json
for name in $(vm_names); do
hostname="$name.$ZONE.$PROJECT"
hosts="$hostname $hosts"
args="--add-host=$hostname:$(internal_ip $json $name) $args"
done
echo export SSH=\"ssh -l vagrant\"
echo export HOSTS=\"$hosts\"
echo export ADD_HOST_ARGS=\"$args\"
rm $json
}