Commit 668c3d63 authored by Paolo Dongilli's avatar Paolo Dongilli
Browse files

changed owner of /root/.ssh folder to root

parent d4abb1ae
......@@ -128,6 +128,7 @@ clusterVar="$(cat $computerList | grep "$macAddress" | awk '{print $5}')"
if [ "$joinVar" == "join" ];then
rsync -a /home/partimag/.ssh/ /mnt/root/.ssh/
cp /root/.ssh/known_hosts /mnt/root/.ssh/known_hosts
chown -R root:root /mnt/root/.ssh
cp /home/partimag/clientScripts/rc.local /mnt/etc/
chmod 770 /mnt/etc/rc.local
cp /home/partimag/clientScripts/clientScript /mnt/root/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment