diff options
author | Daniel Hansson <github@hanssonit.se> | 2020-06-11 10:52:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 10:52:44 +0300 |
commit | b0d3e47050f61f94c41bb7e357c4827b1c09f2d1 (patch) | |
tree | 3ec250406a6f86e0d5aa985393b9229a1dd3bdb3 /nextcloud_install_production.sh | |
parent | 4a9579a580a72f04e9404a9924e701a9e4affbcd (diff) |
only do it manually on the Home/SME server
Diffstat (limited to 'nextcloud_install_production.sh')
-rw-r--r-- | nextcloud_install_production.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index d98a4c21..26ec7cc3 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -99,10 +99,14 @@ fi if grep -q "LVM" /etc/fstab then # Resize LVM (live installer is &%ยค%/! + # VM print_text_in_color "$ICyan" "Extending LVM, this may take a long time..." - if ! lvextend -l 100%FREE --resizefs /dev/ubuntu-vg/ubuntu-lv + lvextend -l 100%FREE --resizefs /dev/ubuntu-vg/ubuntu-lv + + # HomeSME Server + if home_sme_server then - print_text_in_color "$ICyan" "Extending LVM, this may take a long time..." + print_text_in_color "$ICyan" "Extending LVM, this may take a long time..." while : do lvdisplay | grep "Size" | awk '{print $3}' |