From 1f1d282beb8e6305985d90d9631363e1efa62f76 Mon Sep 17 00:00:00 2001 From: Suikan <26223147+suikan4github@users.noreply.github.com> Date: Tue, 29 Jun 2021 15:09:22 +0900 Subject: [PATCH] Added "No problem" message --- ubuntu/1-pre-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ubuntu/1-pre-install.sh b/ubuntu/1-pre-install.sh index 909c5c8..51b2806 100644 --- a/ubuntu/1-pre-install.sh +++ b/ubuntu/1-pre-install.sh @@ -178,7 +178,7 @@ fi # if crypt volume is unable to open # Check volume group ${VGNAME} exist or not vgdisplay -s ${VGNAME} &> /dev/null if [ $? -eq 0 ] ; then # is return value 0? ( exist ?) - echo "...Volume group ${VGNAME} already exist. Skipped to create" + echo "...Volume group ${VGNAME} already exist. Skipped to create. No problem." else echo "...Initialize a physical volume on \"${CRYPTPARTNAME}\"" pvcreate /dev/mapper/${CRYPTPARTNAME} @@ -188,7 +188,7 @@ fi # if /dev/volume-groupt not exist # Create a SWAP Logical Volume on VG, if it doesn't exist if [ -e /dev/mapper/${VGNAME}-${LVSWAPNAME} ] ; then - echo "...Swap volume already exist. Skipped to create" + echo "...Swap volume already exist. Skipped to create. No problem." else echo "...Create logical volume \"${LVSWAPNAME}\" on \"${VGNAME}\"." lvcreate -L ${LVSWAPSIZE} -n ${LVSWAPNAME} ${VGNAME}