You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix LVM snapshot and disk space logic (closes#1986)
- Ask about snapshots first before disk space question
- Reserve 10G for snapshots, then extend with remaining free space
- This prevents the bug where extending to 100%FREE consumed space needed for snapshots
- Provisioning mode still always extends as before
- Fix whiptail installation to run apt-get update first
# Create a placeholder volume before modifying anything
103
+
# Ask about snapshots first
104
+
SNAPSHOTS_ENABLED=""
102
105
if [ -z"$PROVISIONING" ]
103
106
then
104
107
if! does_snapshot_exist "NcVM-installation"&& yesno_box_no "Do you want to use LVM snapshots to be able to restore your root partition during upgrades and such?
@@ -113,7 +116,8 @@ Enabling this will also force an automatic reboot after running the update scrip
0 commit comments