diff options
author | David Lehman <dlehman@redhat.com> | 2009-03-13 14:09:48 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-03-13 17:15:20 -0500 |
commit | 7e6abe78159c8d7719fb2dacf6c59ffb9bd12b3a (patch) | |
tree | 99853c9ab193b086f6c79611d564a28be58c6a8d /iw | |
parent | cd33f1451475dab853bc0021704257e5b1ac6879 (diff) | |
download | anaconda-7e6abe78159c8d7719fb2dacf6c59ffb9bd12b3a.tar.gz anaconda-7e6abe78159c8d7719fb2dacf6c59ffb9bd12b3a.tar.xz anaconda-7e6abe78159c8d7719fb2dacf6c59ffb9bd12b3a.zip |
Schedule format create action for newly encrypted preexisting LV.
Diffstat (limited to 'iw')
-rw-r--r-- | iw/lvm_dialog_gui.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py index 316266513..6aa5ef3b0 100644 --- a/iw/lvm_dialog_gui.py +++ b/iw/lvm_dialog_gui.py @@ -554,7 +554,7 @@ class VolumeGroupEditor: if _lv.format.type == "luks": # XXX this won't work if the lvs haven't been # added to the tree yet - _usedev = self.tree.getChildren(_lv)[0] + _usedev = self.findLUKSDev(_lv) _format = _usedev.format else: _usedev = _lv @@ -685,6 +685,7 @@ class VolumeGroupEditor: actions.append(ActionCreateFormat(usedev, format)) if luksdev: actions.append(ActionCreateDevice(luksdev)) + actions.append(ActionCreateFormat(luksdev)) if migrate: actions.append(ActionMigrateFormat(usedev)) |