From 3b4a02cc2689b3f8c1a6be6ea0d943c86e8d2367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 15 Jan 2018 01:20:18 +0100 Subject: [PATCH] anaconda: fix default scheme in custom partitioning Update to LVM Thin Provisioning there too. Fixes QubesOS/qubes-issues#3225 --- anaconda/pyanaconda/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anaconda/pyanaconda/constants.py b/anaconda/pyanaconda/constants.py index 3531fdc..0e62704 100644 --- a/anaconda/pyanaconda/constants.py +++ b/anaconda/pyanaconda/constants.py @@ -27,7 +27,7 @@ SELINUX_DEFAULT = -1 # where to look for 3rd party addons ADDON_PATHS = ["/usr/share/anaconda/addons"] -from pykickstart.constants import AUTOPART_TYPE_LVM +from pykickstart.constants import AUTOPART_TYPE_LVM_THINP # common string needs to be easy to change from pyanaconda import product @@ -169,7 +169,7 @@ SCREENSHOTS_TARGET_DIRECTORY = "/root/anaconda-screenshots" # cmdline arguments that append instead of overwrite CMDLINE_APPEND = ["modprobe.blacklist", "ifname"] -DEFAULT_AUTOPART_TYPE = AUTOPART_TYPE_LVM +DEFAULT_AUTOPART_TYPE = AUTOPART_TYPE_LVM_THINP # Default to these units when reading user input when no units given SIZE_UNITS_DEFAULT = "MiB"