Bug #1084
closed
OpenSUSE / SLES deployment root password not working
Added by Oliver Weinmann over 13 years ago.
Updated about 13 years ago.
Category:
Unattended installations
|
Description
Hi,
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.
Regards,
Oliver
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 :)
Hi Ohad,
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?
I changed:
<%= root_pass %>/
to:
<%= root_pass %>
Now it works. :)
- Category set to Unattended installations
- Target version set to 0.4
great, do you want to send a git patch?
I would love to. But I have no clue how to do this. :)
something like:
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
- Assignee set to Oliver Weinmann
sadly i never got the patch, mind attaching the git formatted patch here instead ?
- Status changed from New to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF