Pass through an explicit PROXY_SSH_USER.

Use user@user instead of user@hostname in case hostname is too long.

(cherry picked from commit abf1e768dc)
This commit is contained in:
CJ Cullen
2015-06-18 10:34:58 -07:00
committed by Brendan Burns
parent 156d315ceb
commit 3c754a6ec5
2 changed files with 2 additions and 8 deletions

View File

@@ -501,7 +501,7 @@ EOF
cat <<EOF >>/etc/salt/minion.d/grains.conf
cloud_config: /etc/gce.conf
advertise_address: '${EXTERNAL_IP}'
proxy_ssh_user: '${INSTANCE_PREFIX}'
proxy_ssh_user: '${PROXY_SSH_USER}'
EOF
fi
}