/srv/irclogs.ubuntu.com/2022/10/22/#cloud-init.txt

=== janitha77 is now known as janitha7
johnjayeis it possible to make a cloud image with no default users at all? and then just have cloud-init create them?18:55
johnjayei'm really confused here. i thought 'debian' was the default user in all the debian cloud images. but when i made a seed file which created user foo then user debian didn't exist18:56
falcojrdefault user should get created by cloud-init...default cloud images won't come with users defined18:56
johnjayebut the file /etc/cloud/cloud.cfg on the debian images says to create default user debian18:57
johnjayedid i override it somehow by specifying a users: section and creating foo?18:57
johnjayei checked both /etc/passwd and /home and there was nothing. just foo18:57
johnjayethis is the config i used: https://dpaste.com/D9SAGC2C218:58
falcojrjohnjaye: if you're creating additional users via cloud-init, ensure you include "- default" in your users list18:58
johnjayeif i don't does it override the default user?18:59
falcojryes19:00
johnjayeo_o19:00
johnjayeok. 19:00
johnjayewould not have guessed that to be the case19:00
johnjayei thought i was avoiding that by omitting -default from the list19:00
minimaljohnjaye: this is mentioned in the docs but possibly it needs to be in large red flashing letters as it is a common mistake people make ;-)19:06
minimalfrom the docs: "Omission of 'default' as the first item in the 'users' list skips creation[sic] the default user."19:07
falcojrOoh, typo with it. Even better! 19:10
minimalfalcojr: 50/50 choice of "creation of" or "creating" ;-)19:11
minimalfalcojr: can we ask the browser makers to bring back the <blink> tag? lol19:16

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