From d7d330966de2e2a655b08c4c162a8da0cf60cd9e Mon Sep 17 00:00:00 2001 From: immarvin Date: Thu, 27 Jun 2013 06:15:56 +0000 Subject: [PATCH] sync code with rh,add localdisk support git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../share/xcat/netboot/fedora/dracut_009/xcat-prepivot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/share/xcat/netboot/fedora/dracut_009/xcat-prepivot.sh b/xCAT-server/share/xcat/netboot/fedora/dracut_009/xcat-prepivot.sh index f6571b82f..f82729557 100755 --- a/xCAT-server/share/xcat/netboot/fedora/dracut_009/xcat-prepivot.sh +++ b/xCAT-server/share/xcat/netboot/fedora/dracut_009/xcat-prepivot.sh @@ -68,6 +68,8 @@ if [ ! -z $SNAPSHOTSERVER ]; then fi # TODO: handle the dhclient/resolv.conf/ntp, etc +echo "Get to enable localdisk" +$NEWROOT/etc/init.d/localdisk $NEWROOT/etc/init.d/statelite READONLY=yes export READONLY