diff --git a/script/common/preinstall.sh b/script/common/preinstall.sh index 68d49ff..0e06690 100644 --- a/script/common/preinstall.sh +++ b/script/common/preinstall.sh @@ -61,6 +61,8 @@ function pre_install() { # Check volume group ${VGNAME} exist or not if vgdisplay -s ${VGNAME} &> /dev/null ; then # if exist echo "...Volume group ${VGNAME} already exist. Skipped to create. No problem." + echo "...Activate all logical volume in volume group ${VGNAME}." + vgchange -ay else echo "...Initialize a physical volume on \"${CRYPTPARTNAME}\"" pvcreate /dev/mapper/${CRYPTPARTNAME}