default to setting up LVM in guided storage screen
This commit is contained in:
parent
71ee369c7f
commit
812f33cab6
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue