From 7f0eb23d4692dc34dd7817d74dccddd235bd9c90 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-server/share/xcat/netboot/sles/dracut_033/xcat-prepivot.sh --- xCAT-server/share/xcat/netboot/sles/dracut_033/xcat-prepivot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/netboot/sles/dracut_033/xcat-prepivot.sh b/xCAT-server/share/xcat/netboot/sles/dracut_033/xcat-prepivot.sh index b5114ef43..d8e12e290 100755 --- a/xCAT-server/share/xcat/netboot/sles/dracut_033/xcat-prepivot.sh +++ b/xCAT-server/share/xcat/netboot/sles/dracut_033/xcat-prepivot.sh @@ -140,7 +140,7 @@ for lf in /tmp/dhclient.*.lease; do cp $lf "$NEWROOT/var/lib/dhclient/dhclient-$netif.leases" done -if [ -f $NEWROOT/etc/hostname ]; then +if [ -f $NEWROOT/etc/hostname ]; then echo `hostname -s` > $NEWROOT/etc/hostname fi