summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-12-14 14:51:56 -0500
committerJeremy Katz <katzj@redhat.com>2007-12-14 15:56:43 -0500
commitd618cb3f847b5fd7d358f64d8f6ff24aaff63576 (patch)
treeeffc34847ab41e30ede5dc4530ac989cc7ad0872 /fsset.py
parentaff923cacd1d45b22ae232a195bb53ab50420505 (diff)
downloadanaconda-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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index 180922f04..5e61ef56f 100644
--- a/fsset.py
+++ b/fsset.py
@@ -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)