[lxc-users] LXD 2.4.1 - Trouble with Cloud Init

Scott Moser scott.moser at canonical.com
Sun Jan 29 18:17:02 UTC 2017



On January 29, 2017 11:33:28 AM EST, "Serge E. Hallyn" <serge at hallyn.com> wrote:
>On Fri, Jan 27, 2017 at 06:38:05AM -0600, Neil Bowers wrote:
>> Thank you so much - this has been bugging me for weeks.
>> 
>> I do have a question, however, in regards to the 'write_files'
>directive -
>
>I'm sorry - I really should start using cloud init more myself after
>which I culd be helpful, but for now I don't know the answers to this,
>so cc:ing Scott (which I should have done in my previous reply).
>
>> since this runs before users are created (and while I understand that
>> having it able to affect more of boot is useful, but it's not
>documented
>> like that anywhere I can find), if I were to create the file in
>`/etc/skel`
>> instead, would any created users pick it up from there?  Or is that
>ignored
>> when creating users with cloud-init ?
>
>I should *think* cloud-init creates users the standard way which would
>honor /etc/skel.  Scott?
>

Yeah. That will work. That's a good idea.




More information about the lxc-users mailing list