diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.sles.postinstall b/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.sles.postinstall index 1c93749e4..e29d9a7d9 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.sles.postinstall +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.sles.postinstall @@ -3,12 +3,12 @@ #-- IBMhpc.postinstall #-- Run this script from your .postinstall to perform the following #-- general setup in your diskless image for your HPC cluster: -#-- - create entries in /etc/fstab for basic filesystems +#-- - create entries in /etc/fstab for basic filesystems #-- - enables the "cons" entry in /etc/inittab #-- - create initial copies of /etc/passwd and other files in the image #-- - turn on the "at" service #-- - turn on xinetd -#-- - +#-- - #-- #-- it gets these arguments: #-- @@ -44,7 +44,7 @@ echo "$TMP_inittab" > $installroot/etc/inittab # Create initial copies of /etc/passwd and others in case they are needed # by other postscripts # If you would like xCAT to keep these up to date, -# use the xCAT syncfiles function which runs during +# use the xCAT syncfiles function which runs during # packimage/liteimg and at other times cp -p /etc/passwd $installroot/etc/passwd cp -p /etc/group $installroot/etc/group @@ -60,8 +60,8 @@ chroot $installroot chkconfig xinetd on # Automatically mount /dev/cpuset at node boot if ! grep 'cpuset' $installroot/etc/init.d/boot.local ; then cat <>$installroot/etc/init.d/boot.local -if test -e /dev/cpuset || mkdir -p /dev/cpuset ; then - mount -t cpuset none /dev/cpuset +if test -e /dev/cpuset || mkdir -p /dev/cpuset ; then + mount -t cpuset none /dev/cpuset fi END fi