Skip to content

Commit

Permalink
anaconda: switch default partitioning scheme to LVM Thin Provisioning
Browse files Browse the repository at this point in the history
Rework of previous work done by Marek Marczykowski-Górecki (marmarek).

QubesOS/qubes-issues#2412
  • Loading branch information
fepitre committed Jan 3, 2019
1 parent cab4c3f commit 2ea8ae6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyanaconda/installclasses/qubes.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from pyanaconda.product import *
from pyanaconda.core.i18n import N_
import pyanaconda.platform
from pykickstart.constants import AUTOPART_TYPE_LVM_THINP

from blivet.size import Size
from pyanaconda.platform import platform
Expand Down Expand Up @@ -57,6 +58,9 @@ def configure(self, anaconda):
auto_part_proxy = STORAGE.get_proxy(AUTO_PARTITIONING)
auto_part_proxy.SetEncrypted(True)

# Make LVM Thin the default for autopart
auto_part_proxy.SetType(AUTOPART_TYPE_LVM_THINP)

# Make disabled NTP by default
timezone_proxy = TIMEZONE.get_proxy()
timezone_proxy.SetNTPEnabled(False)
Expand Down

0 comments on commit 2ea8ae6

Please sign in to comment.