[Bug 1923045] Re: cloud-init + installer not creating user accounts

2021-04-16 Thread Paride Legovini
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

[Bug 1923045] Re: cloud-init + installer not creating user accounts

2021-04-16 Thread Paride Legovini
** 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

[Bug 1923045] Re: cloud-init + installer not creating user accounts

2021-04-11 Thread Hadmut Danisch
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'.

[Bug 1923045] Re: cloud-init + installer not creating user accounts

2021-04-11 Thread Hadmut Danisch
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

[Bug 1923045] Re: cloud-init + installer not creating user accounts

2021-04-09 Thread Paride Legovini
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

[Bug 1923045] Re: cloud-init + installer not creating user accounts

2021-04-08 Thread Hadmut Danisch
** 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

[Bug 1923045] Re: cloud-init + installer not creating user accounts

2021-04-08 Thread Hadmut Danisch
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