Verified Commit 1f451442 authored by Marco Marinello's avatar Marco Marinello
Browse files

Add -k1 option to ocs-sr to avoid errors while cloning different disks

parent c50bef0a
......@@ -109,7 +109,7 @@ 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
ocs-sr -b -g auto -e1 auto -e2 -k1 -r -j2 -scr -p true restoredisk $imageName $diskVar
# --------------------------------------------------------------------------------
rootPartition=$(getRootPartitionFuss)
......
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