diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 index f9261358d..8a1b1363c 100644 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 @@ -90,8 +90,8 @@ 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 }') + #KEY=$(date | sha1sum | awk '{ print $1 }') + KEY=$(dd if=/dev/random count=1 2>/dev/null | sha1sum | awk '{print $1}') echo $KEY > $installroot/root/.ckpt.key chmod 400 $installroot/root/.ckpt.key fi