=== janitha77 is now known as janitha7 | ||
johnjaye | is it possible to make a cloud image with no default users at all? and then just have cloud-init create them? | 18:55 |
---|---|---|
johnjaye | i'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 exist | 18:56 |
falcojr | default user should get created by cloud-init...default cloud images won't come with users defined | 18:56 |
johnjaye | but the file /etc/cloud/cloud.cfg on the debian images says to create default user debian | 18:57 |
johnjaye | did i override it somehow by specifying a users: section and creating foo? | 18:57 |
johnjaye | i checked both /etc/passwd and /home and there was nothing. just foo | 18:57 |
johnjaye | this is the config i used: https://dpaste.com/D9SAGC2C2 | 18:58 |
falcojr | johnjaye: if you're creating additional users via cloud-init, ensure you include "- default" in your users list | 18:58 |
johnjaye | if i don't does it override the default user? | 18:59 |
falcojr | yes | 19:00 |
johnjaye | o_o | 19:00 |
johnjaye | ok. | 19:00 |
johnjaye | would not have guessed that to be the case | 19:00 |
johnjaye | i thought i was avoiding that by omitting -default from the list | 19:00 |
minimal | johnjaye: 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 |
minimal | from the docs: "Omission of 'default' as the first item in the 'users' list skips creation[sic] the default user." | 19:07 |
falcojr | Ooh, typo with it. Even better! | 19:10 |
minimal | falcojr: 50/50 choice of "creation of" or "creating" ;-) | 19:11 |
minimal | falcojr: can we ask the browser makers to bring back the <blink> tag? lol | 19:16 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!