mirror of
https://github.com/Le0xFF/VoidLinuxInstaller.git
synced 2024-11-22 11:16:22 +03:00
Fix lvm creation if encryption was not choosen
This commit is contained in:
parent
a8aa59c84a
commit
9841650994
4
vli.sh
4
vli.sh
@ -56,7 +56,7 @@ function kill_script {
|
||||
if [[ "$encryption_yn" == "y" ]] || [[ "$encryption_yn" == "Y" ]] ; then
|
||||
cryptsetup close /dev/mapper/"$encrypted_name"
|
||||
fi
|
||||
|
||||
|
||||
if [[ -f "$HOME"/chroot.sh ]] ; then
|
||||
rm -f "$HOME"/chroot.sh
|
||||
fi
|
||||
@ -2386,7 +2386,7 @@ function lvm_creation {
|
||||
|
||||
if [[ "$yn" == "y" ]] || [[ "$yn" == "Y" ]] ; then
|
||||
echo -e -n "\n\nVolume Group will now be created and mounted as: ${BLUE_LIGHT}/dev/mapper/$vg_name${NORMAL}\n\n"
|
||||
vgcreate "$vg_name" /dev/mapper/"$encrypted_name"
|
||||
vgcreate "$vg_name" "$final_drive"
|
||||
echo
|
||||
read -n 1 -r -p "[Press any key to continue...]" key
|
||||
clear
|
||||
|
Loading…
Reference in New Issue
Block a user