LXD gives you system containers and virtual machines, usable from the same user interface. You would rather use system containers as they are more lightweight than VMs. Previously we have seen how to use the Kali LXD containers (includes how to use a USB network adapter). There is documentation on using graphics applications (X11) in …
Tag: cloud-init
Permanent link to this article: https://blog.simos.info/how-to-run-graphics-x11-applications-in-the-kali-lxd-container/
Oct 22 2019
How to add both a private and public network to LXD using cloud-init
When you launch a new LXD container, LXD applies the default LXD profile unless you specify a different profile. By adding configuration to a LXD profile, you can launch containers with specific parameters such as specific network configuration. In the following we see how this default LXD profile looks like, and then use cloud-init instructions …
Permanent link to this article: https://blog.simos.info/how-to-add-both-a-private-and-public-network-to-lxd-using-cloud-init/
Aug 30 2019
Cloud-init support in LXD container images
cloud-init is a tool to help you customize cloud images. When you launch a cloud image, you can provide to it with your cloud-init instructions, and the cloud image will execute them. In that way, you can start with a generic cloud image, and as soon as it booted up, it will be configured to …
Permanent link to this article: https://blog.simos.info/cloud-init-support-in-lxd-container-images/
Jan 03 2018
How to preconfigure LXD containers with cloud-init
You are creating containers and you want them to be somewhat preconfigured. For example, you want them to run automatically apt update as soon as they are launched. Or, get some packages pre-installed, or run a few commands. Here is how to perform this early initialization with cloud-init through LXD to container images that support …
Permanent link to this article: https://blog.simos.info/how-to-preconfigure-lxd-containers-with-cloud-init/
Recent Comments