summaryrefslogtreecommitdiff
path: root/install-itzks-workstation
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-30 22:43:32 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-30 22:43:32 +0100
commitf10b5cd7b914c11cf860d87c04ca0c351632972b (patch)
tree1d66d4dfaa6e4813c472b998ea0c1a30c71196c5 /install-itzks-workstation
parent049b34dd39cc7c1f6502452ee5e076f021ab717e (diff)
downloaditzks-install-script-f10b5cd7b914c11cf860d87c04ca0c351632972b.tar.gz
itzks-install-script-f10b5cd7b914c11cf860d87c04ca0c351632972b.tar.bz2
itzks-install-script-f10b5cd7b914c11cf860d87c04ca0c351632972b.zip
Don't abort script, if volume size change fails. This most likely happens if the script needs to be re-run.
Diffstat (limited to 'install-itzks-workstation')
-rw-r--r--install-itzks-workstation4
1 files changed, 2 insertions, 2 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index d0329f2..2a910fd 100644
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -12,10 +12,10 @@ fi
# Enlarge root-fs
if [ -e /dev/vg_system/usr ]; then
- lvextend -L 18G /dev/vg_system/usr
+ lvextend -L 18G /dev/vg_system/usr || true
resize2fs /dev/vg_system/usr
else
- lvextend -L 22G /dev/vg_system/root
+ lvextend -L 22G /dev/vg_system/root || true
resize2fs /dev/vg_system/root
fi