2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 04:10:46 +00:00

Remove trailing spaces in file xCAT/prescripts/setupdhcp

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent b556e22f31
commit 3ea616e41b

View File

@ -3,8 +3,8 @@
#-------------------------------------------------------------------------------
#=head1 setupdhcp
#=head2 setupdhcp command is called by nodeset command as a end script.
# It configures the local dhcp lease file.
#=head2 setupdhcp command is called by nodeset command as a end script.
# It configures the local dhcp lease file.
#=cut
#-------------------------------------------------------------------------------
#the following 3 variables are set in yahoo.pm and pxe.pm.
@ -16,9 +16,9 @@ fi
normalnodeset=$2
breaknetboot=$3
if [ $normalnodeset != "NONE" ]; then
if [ $normalnodeset != "NONE" ]; then
TMP=`XCATBYPASS=Y $XCATROOT/sbin/makedhcp $normalnodeset -l`
echo $TMP
echo $TMP
fi
if [ $breaknetboot != "NONE" ]; then
TMP=`XCATBYPASS=Y $XCATROOT/sbin/makedhcp $breaknetboot -l -s 'filename = \"xcat/nonexistant_file_to_intentionally_break_netboot_for_localboot_to_work\";'`