diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 index 3e1a72b1f..f9261358d 100644 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 @@ -88,6 +88,14 @@ if [ "$OS" != "AIX" ]; then fi fi +#Generate checkpoint key and store it into the image, ckpt script could ust it after boot. +if [ "$OS" != "AIX" ]; then + KEY=$(date | sha1sum | awk '{ print $1 }') + # KEY=$(dd if=/dev/random bs=1 | sha1sum | awk '{ print $1 }') + echo $KEY > $installroot/root/.ckpt.key + chmod 400 $installroot/root/.ckpt.key +fi + # BSR configuration, uncomment the following lines to enable BSR configuration on Power Linux cluter. #if [ "$OS" != "AIX" ]; then