Various fixes
This commit is contained in:
@ -21,7 +21,7 @@ checkup() {
|
||||
while :
|
||||
do
|
||||
pinfo "Checking availability of node $host..."
|
||||
if true | ssh root@${hosts[$host]};
|
||||
if true | sshcmd root@${hosts[$host]};
|
||||
then
|
||||
pinfo "VM $host is up!"
|
||||
break
|
||||
@ -39,7 +39,7 @@ checkup() {
|
||||
|
||||
start_control_plane() {
|
||||
for host in ${!hosts[*]}; do
|
||||
ssh root@${hosts[$host]} << EOF
|
||||
sshcmd root@${hosts[$host]} << EOF
|
||||
if ls /etc/kubernetes/manifests.static/* &>/dev/null ; then
|
||||
mv /etc/kubernetes/manifests.static/* /var/lib/kubelet/manifests/
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user