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:
parent
d96a054956
commit
55adf47b7e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user