2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Port daa6c91991d6b1472a0962f0753f4d60ee977c9b

This commit is contained in:
GONG Jie 2018-12-27 15:45:59 +08:00
parent 18b416dc06
commit 4e95be796c

View File

@ -224,6 +224,12 @@ fi
BOOTFSTYPE=ext4
FSTYPE=ext4
EFIFSTYPE=efi
#remove any exiting "xcatvg" VG to avoid fatal error
vgs > /tmp/vgs 2>&1
vgchange -a n xcatvg
vgremove -f xcatvg
msgutil_r "$MASTER_IP" "info" "Found $instdisk, generate partition file..." "/var/log/xcat/xcat.log" "$log_label"
echo "ignoredisk --only-use=$instdisk" >>/tmp/partitionfile
case "$(uname -m)" in