Update longhorn-RKE2.sh

This commit is contained in:
tehNooB 2023-11-02 10:58:27 +00:00 committed by GitHub
parent 39a8e00ce0
commit b6b9b0e20b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,11 @@ certName=id_rsa
sudo timedatectl set-ntp off
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
if ! command -v sudo service open-iscsi status &> /dev/null
then