mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Fix variable dollar-char errors
This commit is contained in:
parent
505488269c
commit
80ba56a371
@ -658,7 +658,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
echo -e " ${color_yellow}[not working yet]${color_norm}"
|
echo -e " ${color_yellow}[not working yet]${color_norm}"
|
||||||
# Start Docker, in case it failed to start.
|
# Start Docker, in case it failed to start.
|
||||||
ssh -oStrictHostKeyChecking=no -i ${AWS_SSH_KEY} ubuntu@$$minion_ip sudo service docker start > $LOG 2>&1
|
ssh -oStrictHostKeyChecking=no -i ${AWS_SSH_KEY} ubuntu@$minion_ip sudo service docker start > $LOG 2>&1
|
||||||
attempt=$(($attempt+1))
|
attempt=$(($attempt+1))
|
||||||
sleep 30
|
sleep 30
|
||||||
done
|
done
|
||||||
@ -805,7 +805,7 @@ function ssh-to-node {
|
|||||||
local cmd="$2"
|
local cmd="$2"
|
||||||
|
|
||||||
local ip=$(get_instance_public_ip ${node})
|
local ip=$(get_instance_public_ip ${node})
|
||||||
if [[ -z "ip" ]]; then
|
if [[ -z "$ip" ]]; then
|
||||||
echo "Could not detect IP for ${node}."
|
echo "Could not detect IP for ${node}."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user