OpenSUSE / SLES deployment root password not working
I noticed that the root password entered in the host creation phase is not correctly applied to the deployed machine. I guess because SUSE is using a different alogorithm as the one that is used in foreman. Maybe Suse is using md5sum. I googled a lot for it but couldn't find any clear details what is used in Suse.
#1 Updated by Ohad Levy almost 8 years ago
You are probably correct, the handling of encoding the password should be moved away to the OS layer, so each OS should handle the encryption it self.
I'm assuming most OS's support md5sum, and only solaris is still on crypt, however I'm not certain, would be great if anyone could contribute some knowledge here :)
#2 Updated by Oliver Weinmann almost 8 years ago
I just deployed a new machine (SLES 11) I'm testing some things with provisioning here. Now the password worked. I found a type in the default OpenSUSE Provisioning template. Maybe the typo was my mistake?
<%= root_pass %>/
<%= root_pass %>
Now it works. :)
#5 Updated by Ohad Levy almost 8 years ago
read though Contribute
and then something like this:
cd /tmp git clone git://github.com/ohadlevy/foreman.git foreman cd foreman vim app/views/unattended/autoyast.xml.erb git diff git ci app/views/unattended/autoyast.xml.erb -m "fixes #1084 - OpenSUSE / SLES deployment root password not working" rake mail_patches