Commit 7760d079 authored by Adam Sunderland's avatar Adam Sunderland

Update SSH User For Master SSH Check

parent f39f2f04
...@@ -768,7 +768,7 @@ function kube-up { ...@@ -768,7 +768,7 @@ function kube-up {
echo -n Attempt "$(($attempt+1))" to check for SSH to master echo -n Attempt "$(($attempt+1))" to check for SSH to master
local output local output
local ok=1 local ok=1
output=$(ssh -oStrictHostKeyChecking=no -i "${AWS_SSH_KEY}" ubuntu@${KUBE_MASTER_IP} uptime 2> $LOG) || ok=0 output=$(ssh -oStrictHostKeyChecking=no -i "${AWS_SSH_KEY}" ${SSH_USER}@${KUBE_MASTER_IP} uptime 2> $LOG) || ok=0
if [[ ${ok} == 0 ]]; then if [[ ${ok} == 0 ]]; then
if (( attempt > 30 )); then if (( attempt > 30 )); then
echo echo
...@@ -794,7 +794,7 @@ function kube-up { ...@@ -794,7 +794,7 @@ function kube-up {
echo -n Attempt "$(($attempt+1))" to check for salt-master echo -n Attempt "$(($attempt+1))" to check for salt-master
local output local output
local ok=1 local ok=1
output=$(ssh -oStrictHostKeyChecking=no -i "${AWS_SSH_KEY}" ubuntu@${KUBE_MASTER_IP} pgrep salt-master 2> $LOG) || ok=0 output=$(ssh -oStrictHostKeyChecking=no -i "${AWS_SSH_KEY}" ${SSH_USER}@${KUBE_MASTER_IP} pgrep salt-master 2> $LOG) || ok=0
if [[ ${ok} == 0 ]]; then if [[ ${ok} == 0 ]]; then
if (( attempt > 30 )); then if (( attempt > 30 )); then
echo echo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment