Hi Hadmut and thanks for your additional debugging work here and for
sharing your findings.
I agree this looks like a documentation issue: especially the fact that
the 'identity' and 'user-data/users' sections are mutually exclusive and
'lock_passwd' need better documentation and possibly some
** Also affects: subiquity
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923045
Title:
cloud-init + installer not creating user accounts
To manage
Yes, a
lock_passwd: false
is required to enable the password.
So
- remove the identity section complety
- change password: key to passwd:
- add lock_passwd: false
- wait for some time after first login prompt
is what is needed to get the hadmut1 account and login with password
'ubuntu'.
I've made some progress with debugging.
- the account hadmut1 is created if the identity:-section is completely
removed from user-data, so identity is not 'optional', but exclusive.
- it does not exist immediately when the first boot prompt comes, it is
delayed. You have to wait until you see
Hello Hadmut and thanks for this bug report. From reading the
information here I think user hadmut1 should be created, while I don't
expect hadmut2 and hadmut3 to show up in the installed system.
Specifying the user in the 'identity' section shouldn't be necessary
when specifying users like you
** Attachment added: "user-data file"
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1923045/+attachment/5485582/+files/user-data
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923045
Attached install.sh to demonstrate the problem (will download huge iso
if not present)
** Attachment added: "installer script"
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1923045/+attachment/5485578/+files/install.sh
--
You received this bug notification because you are a