Commit 0cb6a696 authored by Paolo Dongilli's avatar Paolo Dongilli
Browse files

Changed script and clientScript to allow rejoin of clients without cloning by Donato Florio

parent aa533618
......@@ -3,6 +3,15 @@
myNic="$(ls /sys/class/net/ -1 | grep -v lo | grep -v wlan)"
if [ -e /root/reboot ]; then
# Migration 2020 automatic disjoin - uncomment the following lines for this operation only
# -----------------------------------------------------------------------------------------
# cp /root/.ssh/known_hosts /root/.ssh/BKP-known_hosts
# fuss-client -r -p
# mv /root/.ssh/BKP-known_hosts /root/.ssh/known_hosts
# -----------------------------------------------------------------------------------------
# end of disjoin
rm /root/reboot
touch /root/join
systemctl reboot
......
......@@ -10,6 +10,7 @@
# Last modified 01 July 2019 --> added ssh to script and changed disk detection method
# Last modified 12-13 May 2020 --> automatic root partition selection + EFI stuff
# Last modified 19 May 2020 --> little modification of the "dialog" interface
# Last modified 04 June 2020 --> little change to allow rejoin without cloning (just comment line "ocs-sr ..."
#
# PRT 1 ---------------------------
......@@ -107,7 +108,9 @@ fi
imageName=$(cat $computerList | grep "$macAddress" | awk '{print $3}')
# Comment the following line to rejoin clients without cloning (migration 2020)
ocs-sr -b -g auto -e1 auto -e2 -r -j2 -scr -p true restoredisk $imageName $diskVar
# --------------------------------------------------------------------------------
rootPartition=$(getRootPartitionFuss)
......
fuss-fucc (0.5.6) unstable; urgency=medium
[Donato Florio]
* changed script and clientScript to allow rejoin of clients without cloning
-- Paolo Dongilli <dongilli@fuss.bz.it> Thu, 04 Jun 2020 08:25:05 +0200
fuss-fucc (0.5.5) unstable; urgency=medium
* Remove /srv/tftp/pxelinux.cfg/default (managed by fuss-server).
......
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