diff options
-rwxr-xr-x | mic/kickstart/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mic/kickstart/__init__.py b/mic/kickstart/__init__.py index fd2806d..75678ad 100755 --- a/mic/kickstart/__init__.py +++ b/mic/kickstart/__init__.py @@ -265,7 +265,7 @@ class RootPasswordConfig(KickstartConfig): p1 = subprocess.Popen(["/bin/echo", "root:%s" %password], stdout = subprocess.PIPE, preexec_fn = self.chroot) - p2 = subprocess.Popen(["/usr/sbin/chpasswd", "-m"], + p2 = subprocess.Popen(["/usr/sbin/chpasswd", "-c","SHA512"], stdin = p1.stdout, stdout = subprocess.PIPE, preexec_fn = self.chroot) |