From a5538bdb8bad0e149c26d8a5a4927aa4adf04f25 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 20 Mar 2020 16:17:24 -0400 Subject: [PATCH] Fix missing size in logvol Even though grow will designate the size, we have to provide a token lower bound. --- xCAT-server/share/xcat/install/scripts/pre.rhels8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/pre.rhels8 b/xCAT-server/share/xcat/install/scripts/pre.rhels8 index b40afa31e..eb8a4506a 100644 --- a/xCAT-server/share/xcat/install/scripts/pre.rhels8 +++ b/xCAT-server/share/xcat/install/scripts/pre.rhels8 @@ -277,7 +277,7 @@ echo "part pv.000997 --grow --asprimary --ondisk=$instdisk --size=18432" >>/tmp/ echo "volgroup xcatvg --pesize=4096 pv.000997" >>/tmp/partitionfile echo "logvol swap --name=swap --vgname=xcatvg --recommended" >>/tmp/partitionfile -echo "logvol / --fstype=$FSTYPE --name=root --vgname=xcatvg --grow" >>/tmp/partitionfile +echo "logvol / --fstype=$FSTYPE --name=root --vgname=xcatvg --grow --size 1" >>/tmp/partitionfile # Specify "bootloader" configuration in "/tmp/partitionfile" if there is no user customized partition file BOOTLOADER="bootloader"