Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2020-10-03 21:15:51 +0300
committerGitHub <noreply@github.com>2020-10-03 21:15:51 +0300
commit9107d8a5969b6087f35f042a25d119652e6a33a9 (patch)
treeb231c244338209fbdd489e4651f8925297ce9a4d /nextcloud_install_production.sh
parent37e248631865b927a83db2adaf4b5cff9f19409c (diff)
make it possible to skip the whole lvm section (#1518)
Diffstat (limited to 'nextcloud_install_production.sh')
-rw-r--r--nextcloud_install_production.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh
index 0b73c850..7df36c89 100644
--- a/nextcloud_install_production.sh
+++ b/nextcloud_install_production.sh
@@ -119,6 +119,8 @@ fi
# Fix LVM on BASE image
if grep -q "LVM" /etc/fstab
then
+ if yesno_box_yes "Do you want to make all free space available to your root partition?"
+ then
# Resize LVM (live installer is &%ยค%/!
# VM
print_text_in_color "$ICyan" "Extending LVM, this may take a long time..."
@@ -136,16 +138,14 @@ then
then
if ! lvextend -L +1M /dev/ubuntu-vg/ubuntu-lv >/dev/null 2>&1
then
- if yesno_box_yes "Do you want to make all free space available to your root partition?"
- then
- resize2fs /dev/ubuntu-vg/ubuntu-lv
- fi
+ resize2fs /dev/ubuntu-vg/ubuntu-lv
break
fi
fi
fi
fi
done
+ fi
fi
# Check if it's a clean server