diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-12-14 14:51:56 -0500 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-12-14 15:56:43 -0500 |
commit | d618cb3f847b5fd7d358f64d8f6ff24aaff63576 (patch) | |
tree | effc34847ab41e30ede5dc4530ac989cc7ad0872 /fsset.py | |
parent | aff923cacd1d45b22ae232a195bb53ab50420505 (diff) | |
download | anaconda-d618cb3f847b5fd7d358f64d8f6ff24aaff63576.tar.gz anaconda-d618cb3f847b5fd7d358f64d8f6ff24aaff63576.tar.xz anaconda-d618cb3f847b5fd7d358f64d8f6ff24aaff63576.zip |
Add support for encryption via autopart.
This allows autopart (of LVM) to set up encrypted PVs to be used and adds
the UI for enabling that in graphical mode.
It's a little bit hacky as we rely on the fact request.encryption is set
and has a passphrase for this to work
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2170,7 +2170,7 @@ class Device: self.isSetup = 0 self.doLabel = 1 self.deviceOptions = "" - if encryption: + if encryption and encryption.getScheme(): self.crypto = encryption if device not in ("none", None): self.crypto.setDevice(device) |