summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-03-03 21:22:10 -0600
committerDavid Lehman <dlehman@redhat.com>2009-03-03 21:22:10 -0600
commit18cc89b25b9627f9623727c4a950aa86dc8d6aea (patch)
treebe7238efc205cceeede45ad7257abb325fe7a3c9 /storage
parent44825eee5a79305088bef52635b531d38afb69fa (diff)
downloadanaconda-18cc89b25b9627f9623727c4a950aa86dc8d6aea.tar.gz
anaconda-18cc89b25b9627f9623727c4a950aa86dc8d6aea.tar.xz
anaconda-18cc89b25b9627f9623727c4a950aa86dc8d6aea.zip
Detect newly encrypted devices so we can prompt for passphrase.
Diffstat (limited to 'storage')
-rw-r--r--storage/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/__init__.py b/storage/__init__.py
index 11e29d562..5f55790b7 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -80,7 +80,9 @@ def storageComplete(anaconda):
for dev in devs:
if dev.exists:
existing_luks = True
- break
+ else:
+ new_luks = True
+
if (anaconda.id.storage.encryptedAutoPart or new_luks) and \
not anaconda.id.storage.encryptionPassphrase:
while True: