We still have the downloaded template on/var/cache/lxc/download/centos/6/amd64/default/. Can we use this and extend the expiry so when lxc-create runs, it will not try to download again (the image template which was already removed)?
It will take sometime for us to create our own template via the distrobuilder and the image spec.
Also what will be the command to create the container if we decided to use the new image created by the distro builder and image?
Extending the cache expiry is certainly worth a shot.
If that doesn’t work, you can probably get -t local to consume what you have on disk by making a new meta.tar.xz from the bits you have on disk and use the existing rootfs.tar.xz
Thanks a lot! Extending the cache expiry worked, but we will still try to create a new meta.tar.xz from rootfs so we don’t lose the data when the server restarts.