From b7d3c4732ff7f16ccdaf2da85a0fc760ed53b559 Mon Sep 17 00:00:00 2001 From: huweihua Date: Wed, 2 Jul 2014 05:19:26 -0400 Subject: [PATCH] modify defect: miss boot_root attr in legacy mode --- xCAT/postscripts/configefi | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT/postscripts/configefi b/xCAT/postscripts/configefi index 41a30a498..5bc8c1ac8 100644 --- a/xCAT/postscripts/configefi +++ b/xCAT/postscripts/configefi @@ -29,6 +29,7 @@ else grep -v rootfs /proc/mounts > /etc/mtab boot_device='' if [ -f "/etc/systemconfig/systemconfig.conf" ];then + boot_root=`cat /etc/systemconfig/systemconfig.conf | grep ROOTDEV | awk '{print $3}'` boot_device=`cat /etc/systemconfig/systemconfig.conf | grep BOOTDEV | awk '{print $3}'` else boot_root=`mount | grep -E ' on\s+/ type ' | awk '{print $1}'`