[master 1/1] set sysroot correctly when setting root password (#1260875)

AdamWill installerbot-noreply at redhat.com
Tue Sep 8 17:04:28 UTC 2015


From: Adam Williamson <awilliam at redhat.com>

---
 pyanaconda/kickstart.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 4e1b328..7e3ffeb 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -1615,7 +1615,7 @@ def execute(self, storage, ksdata, instClass, users):
             self.lock = True
 
         algo = getPassAlgo(ksdata.authconfig.authconfig)
-        users.setRootPassword(self.password, self.isCrypted, self.lock, algo)
+        users.setRootPassword(self.password, self.isCrypted, self.lock, algo, iutil.getSysroot())
 
 class SELinux(commands.selinux.FC3_SELinux):
     def execute(self, *args):


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


More information about the anaconda-patches mailing list