/srv/irclogs.ubuntu.com/2022/06/03/#cloud-init.txt

Olivier67hi12:00
Olivier67I have issues with cloud-init users creation and vmware guestinfo settings12:00
Olivier67users never get created12:00
Olivier67but as I can't login , I have no logs12:01
Olivier67I have tested the same userdata settings with a lxc container and there it works12:13
Olivier67anyone has an idea ?12:14
rylandblackboxsw: that worked. I have applied the patch. No i have a new problem. The network configuration is assigned properly, and NetworkManager is applying all the settings and regenerating resolv.conf. But it does not put the DNS config in there. I wonder if there is another patch that i am missing13:49
holmanbOlivier67: Hello o/15:03
holmanbOlivier67: Are you able to mount the image locally to grab the logs?15:05
rylandblackboxsw: ok, found that issue too. it seems that, now that i have applied the patch, cloud-init detects the OVF datasource that comes from the vmware-tools and ignores the VMware datasource. the OVF data source results in a v1 network config that does not have the general dns configuration part, so NetworkManager cannot configure it. But when I15:24
rylandam using the VMware datsource only, the NIC is not made active in VMware. I feel like my head is exploding15:24
holmanbryland: sounds frustrating :/ You want to use the VMware datasource for networkv2, but it is using OVF. I'm catching up on the discussion, but at this point it sounds like a datasource mis-detection to me, right?16:44
Olivier67holmanb not yet I drop it today .... I will try to mount tomorrow the partition22:19
Olivier67ok now I have accessed my logs through LiveCD and I can see the logs23:10
Olivier67so apparently it says that my users are well created23:10
Olivier67but I have the following in the logs23:10
Olivier67running hidden command to protect sensitive input/output logstring: chpasswd for user23:13
Olivier67running command [ 'passwd' , '-l', 'user']23:14
Olivier67so in fact I don't know which password the cloud-init has set23:21
Olivier67Even the default user ubuntu is created23:23
Olivier67or is it only permitted to login with ssh-key ?23:30

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!