mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Refine the parameter printing.
This commit is contained in:
parent
36acfe505b
commit
8bf48b9b0c
1 changed files with 13 additions and 3 deletions
|
|
@ -57,11 +57,21 @@ function confirmation(){
|
||||||
# For surre ask the your config.sh is edited
|
# For surre ask the your config.sh is edited
|
||||||
cat <<- HEREDOC
|
cat <<- HEREDOC
|
||||||
|
|
||||||
The destination logical volume label is "${LVROOTNAME}"
|
LUKS volume partition : ${DEV}${CRYPTPARTITION}
|
||||||
"${LVROOTNAME}" uses ${LVROOTSIZE} of the LVM volume group.
|
LUKS volume name : "${CRYPTPARTNAME}"
|
||||||
Are you sure to install? [Y/N]
|
Volume group name : "${VGNAME}"
|
||||||
|
Root volume name : "${VGNAME}-${LVROOTNAME}"
|
||||||
|
Swap volume name : "${VGNAME}-${LVSWAPNAME}"
|
||||||
|
Size of "${VGNAME}-${LVROOTNAME}" : ${LVROOTSIZE}
|
||||||
HEREDOC
|
HEREDOC
|
||||||
|
|
||||||
|
if [ "${ERASEALL}" -ne 0 ] ; then
|
||||||
|
echo "Going to erase entire disk ${DEV}."
|
||||||
|
elif [ "${OVERWRITEINSTALL}" -ne 0 ] ; then
|
||||||
|
echo "Going to overwrite the logical volume \"${VGNAME}-${LVROOTNAME}\"."
|
||||||
|
else
|
||||||
|
echo "Going to create a new logical volume \"${VGNAME}-${LVROOTNAME}\"."
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# ----- Set Passphrase -----
|
# ----- Set Passphrase -----
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue