default to setting up LVM in guided storage screen

This commit is contained in:
Michael Hudson-Doyle 2020-05-13 16:34:35 +12:00
parent 71ee369c7f
commit 812f33cab6
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ class GuidedChoiceForm(SubForm):
lvm_options = SubFormField(LVMOptionsForm, "", help=NO_HELP) lvm_options = SubFormField(LVMOptionsForm, "", help=NO_HELP)
def __init__(self, parent): def __init__(self, parent):
super().__init__(parent) super().__init__(parent, initial={'use_lvm': True})
options = [] options = []
tables = [] tables = []
initial = -1 initial = -1

View File

@ -553,6 +553,6 @@ class SubFormField(FormField):
class SubForm(Form): class SubForm(Form):
def __init__(self, parent): def __init__(self, parent, **kw):
self.parent = parent self.parent = parent
super().__init__() super().__init__(**kw)