Skip to content

Commit

Permalink
Check the encrypt checkbox when encrypted specified in KS
Browse files Browse the repository at this point in the history
Signed-off-by: Vojtech Trefny <vtrefny@redhat.com>
  • Loading branch information
vojtechtrefny committed Jul 21, 2015
1 parent a00d2fe commit dcbcea6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyanaconda/ui/gui/spokes/storage.py
Expand Up @@ -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()
Expand Down

0 comments on commit dcbcea6

Please sign in to comment.