[master 1/1] Do not use min_luks_entropy with pre-existing devices (#1206101)

dashea installerbot-noreply at redhat.com
Fri Mar 27 19:11:32 UTC 2015


From: David Shea <dshea at redhat.com>

If the LUKS device is not being created by anaconda, setting a minimum
entropy for creation doesn't make much sense. Also the parameter was
being passed to the wrong function.
---
 pyanaconda/kickstart.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 72b7d13..6282910 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -1040,8 +1040,7 @@ def execute(self, storage, ksdata, instClass):
                                           add_backup_passphrase=self.backuppassphrase)
                 luksdev = LUKSDevice("luks%d" % storage.nextID,
                                      fmt=luksformat,
-                                     parents=device,
-                                     min_luks_entropy=MIN_CREATE_ENTROPY)
+                                     parents=device)
             else:
                 luksformat = request.format
                 request.format = getFormat("luks", passphrase=self.passphrase,


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/673d3d3c77e6d043727393fba94f87a6a4964c99


More information about the anaconda-patches mailing list