anaconda: make encrypted partitions by default
This commit is contained in:
parent
745a36a17d
commit
492e2932e7
@ -242,7 +242,13 @@ class Authconfig(commands.authconfig.FC3_Authconfig):
|
|||||||
except RuntimeError as msg:
|
except RuntimeError as msg:
|
||||||
log.error("Error running /usr/sbin/authconfig %s: %s", args, msg)
|
log.error("Error running /usr/sbin/authconfig %s: %s", args, msg)
|
||||||
|
|
||||||
class AutoPart(commands.autopart.F18_AutoPart):
|
class Qubes2_AutoPart(commands.autopart.F18_AutoPart):
|
||||||
|
def __init__(self, writePriority=100, *args, **kwargs):
|
||||||
|
if 'encrypted' not in kwargs:
|
||||||
|
kwargs['encrypted'] = True
|
||||||
|
super(Qubes2_AutoPart, self).__init__(writePriority=writePriority, *args, **kwargs)
|
||||||
|
|
||||||
|
class AutoPart(Qubes2_AutoPart):
|
||||||
def execute(self, storage, ksdata, instClass):
|
def execute(self, storage, ksdata, instClass):
|
||||||
from pyanaconda.storage.partitioning import doAutoPartition
|
from pyanaconda.storage.partitioning import doAutoPartition
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user