2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +00:00

Remove trailing spaces in file xCAT-server/share/xcat/netboot/sles/dracut_033/xcat-prepivot.sh

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent 22929a0c3d
commit 7f0eb23d46

View File

@ -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