[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 3/4] Schedule an action when destroying the old format on an encrypted lv.



Related: rhbz#681037
---
 pyanaconda/iw/lvm_dialog_gui.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/iw/lvm_dialog_gui.py b/pyanaconda/iw/lvm_dialog_gui.py
index 1391524..cd76c9b 100644
--- a/pyanaconda/iw/lvm_dialog_gui.py
+++ b/pyanaconda/iw/lvm_dialog_gui.py
@@ -1159,6 +1159,7 @@ class VolumeGroupEditor:
 
                         format = self.luks[lv.lvname]
                         if not format.exists:
+                            actions.append(ActionDestroyFormat(usedev))
                             actions.append(ActionCreateFormat(usedev, format))
                     else:
                         usedev = origlv
-- 
1.7.4.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]