2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 19:22:05 +00:00

Remove trailing spaces in file xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.sles.postinstall

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent d96a054956
commit 55adf47b7e

View File

@ -3,12 +3,12 @@
#-- IBMhpc.postinstall
#-- Run this script from your <profile>.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 <<END >>$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