diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2010-01-07 09:59:32 +0100 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2010-01-07 09:59:32 +0100 |
commit | 5c7b6ee2035626027893cd4d890b9469a0aa2168 (patch) | |
tree | 2249590ed77b24d443f91cb10082b3e771970d6b /cmdline.py | |
parent | 31d5b8f4fec513e4f8e246e47e9fee75c701d07b (diff) | |
download | anaconda-5c7b6ee2035626027893cd4d890b9469a0aa2168.tar.gz anaconda-5c7b6ee2035626027893cd4d890b9469a0aa2168.tar.xz anaconda-5c7b6ee2035626027893cd4d890b9469a0aa2168.zip |
Ask about LVM inconsistencies only in storageinit step.
The patch does essentially the same thing as commit
31d5b8f4fec513e4f8e246e47e9fee75c701d07b for disk initialization question. The
difference is that when user chooses LVM reinitialization, it is done
immediately (not as planned action as with disk initialization) so the user
wouldn't be asked again anyway without the patch (he would be asked if he chose
to ignore).
I also made one function more readable in the patch.
Diffstat (limited to 'cmdline.py')
-rw-r--r-- | cmdline.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmdline.py b/cmdline.py index 24485f76f..700e74148 100644 --- a/cmdline.py +++ b/cmdline.py @@ -144,6 +144,16 @@ class InstallInterface: while 1: time.sleep(5) + def resetReinitInconsistentLVMQuestion(self): + pass + + def questionReinitInconsistentLVM(self, pv_names=None, lv_name=None, vg_name=None): + print(_("Can't have a question in command line mode!")) + print("(questionReinitInconsistentLVM)") + # don't exit + while 1: + time.sleep(5) + def mainExceptionWindow(self, shortText, longTextFile): print(shortText) |