From fc1c23285ef61045465ffca844c531b88c0208d6 Mon Sep 17 00:00:00 2001 From: Yuan Bai Date: Thu, 2 Aug 2018 17:19:08 +0800 Subject: [PATCH] enhance partition for sles12sp3 (#5457) --- xCAT-server/share/xcat/install/scripts/pre.sles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/pre.sles b/xCAT-server/share/xcat/install/scripts/pre.sles index 8fc6cbf60..06631d613 100644 --- a/xCAT-server/share/xcat/install/scripts/pre.sles +++ b/xCAT-server/share/xcat/install/scripts/pre.sles @@ -133,7 +133,7 @@ fi if [ -d /sys/firmware/efi ]; then sed -e 's!XCATPARTITIONHOOK!'$instdisk'vfat/boot/efi128mbswapauto/auto!' /tmp/profile/autoinst.xml > /tmp/profile/modified.xml else - sed -e 's!XCATPARTITIONHOOK!'$instdisk'!' /tmp/profile/autoinst.xml > /tmp/profile/modified.xml + sed -e 's!XCATPARTITIONHOOK!'$instdisk'xfs/autoswapauto!' /tmp/profile/autoinst.xml > /tmp/profile/modified.xml fi #XCA_PARTITION_SCRIPT# #add the following part for replace the partition definition in /tmp/profile/autoinst.xml