Fix the SSH command
This commit is contained in:
parent
85632d6fad
commit
67b19dd765
|
@ -34,7 +34,7 @@ do
|
|||
continue
|
||||
fi
|
||||
echo "reboot $fqdn"
|
||||
ssh -i rsa_ey 'sudo reboot'
|
||||
ssh -i $rsa_key $fqdn 'sudo reboot'
|
||||
echo
|
||||
echo
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue