http://bugzilla.suse.com/show_bug.cgi?id=1047522
http://bugzilla.suse.com/show_bug.cgi?id=1047522#c2
Flávio Ramalho changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CONFIRMED
Ludwig Nussel changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 - None |P2 - High
CC| |lnussel@suse.com
Assignee|bnc-team-screening@forge.pr |jdsn@suse.com
|ovo.novell.com |
--- Comment #2 from Flávio Ramalho ---
'chpasswd' is not working because as user1/2/3 does not exist, it cant change
its password.
Regarding the root password not being changed, according to the example at the
cloud-init docs
(http://cloudinit.readthedocs.io/en/latest/topics/examples.html) 'password' is
used to change the password of the default user. However, we are not setting a
default user for the image.
It can be fixed by setting the default user in /etc/cloud/cloud.cfg:
@@ -1,7 +1,7 @@
# Adapted default config for (open)SUSE systems
users:
- - root
+ - default
disable_root: false
preserve_hostname: false
@@ -56,6 +56,8 @@
# System and/or distro specific settings
system_info:
distro: sles
+ default_user:
+ name: root
paths:
cloud_dir: /var/lib/cloud/
templates_dir: /etc/cloud/templates/
BTW, IMHO we should not have root as the default user.
--- Comment #3 from Ludwig Nussel ---
So what needs to be done here?
--
You are receiving this mail because:
You are on the CC list for the bug.