[master 3/3] Check the encrypt checkbox when encrypted specified in KS

vojtechtrefny installerbot-noreply at redhat.com
Tue Jul 21 11:04:21 UTC 2015


From: Vojtech Trefny <vtrefny at redhat.com>

Signed-off-by: Vojtech Trefny <vtrefny at redhat.com>
---
 pyanaconda/ui/gui/spokes/storage.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 6e14708..0f2b384 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -529,6 +529,10 @@ def refresh(self):
             name = overview.get_property("name")
             overview.set_chosen(name in self.selected_disks)
 
+        # if encrypted is specified in kickstart, select the encryptionCheckbox in the GUI
+        if self.encrypted:
+            self._encrypted.set_active(True)
+
         self._customPart.set_active(not self.autopart)
 
         self._update_summary()


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/dcbcea62c4778cc41ad9dc1152421013d37c20e4


More information about the anaconda-patches mailing list