Update longhorn-RKE2.sh
This commit is contained in:
parent
39a8e00ce0
commit
b6b9b0e20b
|
@ -54,6 +54,11 @@ certName=id_rsa
|
||||||
sudo timedatectl set-ntp off
|
sudo timedatectl set-ntp off
|
||||||
sudo timedatectl set-ntp on
|
sudo timedatectl set-ntp on
|
||||||
|
|
||||||
|
# add ssh keys for all nodes
|
||||||
|
for node in "${storage[@]}"; do
|
||||||
|
ssh-copy-id $user@$node
|
||||||
|
done
|
||||||
|
|
||||||
# add open-iscsi - needed for Debian and non-cloud Ubuntu
|
# add open-iscsi - needed for Debian and non-cloud Ubuntu
|
||||||
if ! command -v sudo service open-iscsi status &> /dev/null
|
if ! command -v sudo service open-iscsi status &> /dev/null
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue