From dcbcea62c4778cc41ad9dc1152421013d37c20e4 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Tue, 21 Jul 2015 12:47:58 +0200 Subject: [PATCH] Check the encrypt checkbox when encrypted specified in KS Signed-off-by: Vojtech Trefny --- 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 6e147081149..0f2b3849c6d 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()