I normally create containers with:
lxc-create -n mycontainer -t debian
However I want to bake a few items into that "debian" default template.
- New user with my ssh key, can sudo without a password.
- Have python installed.
Basically this is the bare bones needed for ansible. I then want to provision my container via ansible from there.
However, I can't find any information on how to customize an lxc template. I have seen a few tutorials about creating a template from scratch, but that is not what I want to do. I want to simply customize an existing template.
OS is debian 8, both host and guest.
Thanks!