diff options
author | David Lehman <dlehman@redhat.com> | 2008-10-30 16:05:51 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2008-10-30 16:05:51 -0500 |
commit | 08d7916a41f271515266ed7dfaf01977c773ad19 (patch) | |
tree | 266ee1fc6cb4644924229565074bc36411387c39 | |
parent | 1e5bbb5fd61160ebac5f917662f05a2a07fb3627 (diff) | |
download | anaconda-08d7916a41f271515266ed7dfaf01977c773ad19.tar.gz anaconda-08d7916a41f271515266ed7dfaf01977c773ad19.tar.xz anaconda-08d7916a41f271515266ed7dfaf01977c773ad19.zip |
Revert "Don't write luks passphrases to anaconda-ks.cfg. (#468907)"
This reverts commit 55833649b14b1118dabb050a8629aa767e58a8e4.
I only covered the partition case, missing raid and logvol.
-rw-r--r-- | partitions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/partitions.py b/partitions.py index 4c82aa4f3..f75eff9fe 100644 --- a/partitions.py +++ b/partitions.py @@ -1363,7 +1363,8 @@ class Partitions: # device encryption if request.encryption: - args.append("--encrypted") + args.extend(["--encrypted", + "--passphrase=\"%s\"" % (request.encryption.passphrase,)]) # preexisting only if request.type == REQUEST_PREEXIST and request.device: |