Commit 96a09728 authored by Paolo Dongilli's avatar Paolo Dongilli

modified removal section at the end of clientScript

parent 082b3112
Pipeline #46 passed with stages
in 15 minutes and 35 seconds
......@@ -28,10 +28,11 @@ if [ -e /root/join ]; then
screen -S XY -X stuff "exec 2>&1 > /dev/tty7\n"
screen -S XY -X stuff "fuss-client -av $clusterJoin && rm /root/join ; reboot\n"
else
rm -fr /root/.ssh
rm -f /etc/rc.local
rm -f /root/clientScript
rm -f /root/cluster
rm -f /root/new_root_pw
rm /etc/rc.local
rm /root/clientScript
rm -fr /root/.ssh/id_rsa*
rm /root/.ssh/known_hosts
sed -i '/clonezilla/d' /root/.ssh/authorized_keys
rm /root/cluster
fi
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