Category: Linux

How to make your LXD containers get IP addresses from your LAN using macvlan

WARNING #1: By using macvlan, your computer’s network interface will appear on the network to have more than one MAC address. This is fine for Ethernet networks. However, if your interface is a Wireless interface (with security like WPA/WPA2), then the access point will ignore any other MAC addresses coming from your computer. Therefore, all …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-make-your-lxd-container-get-ip-addresses-from-your-lan/

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 …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-preconfigure-lxd-containers-with-cloud-init/

Installing retdec on Ubuntu

retdec (RETargetable DECompiler) is a decompiler, and it is the one that was released recently as open-source software by Avast Software. retdec can take an executable and work back into recreating the initial source code (with limitations). An example with retdec Let’s see first an example. Here is the initial source code, that was compiled …

Continue reading

Permanent link to this article: https://blog.simos.info/installing-retdec-on-ubuntu/

multipass, management of virtual machines running Ubuntu

If you want to run a machine container, you would use LXD.  But if you want to run a virtual machine, you would use multipass. multipass is so new, that is still in beta. The name is not known yet to Google, and you get many weird results when you search for it. Both containers …

Continue reading

Permanent link to this article: https://blog.simos.info/multipass-management-of-virtual-machines-running-ubuntu/

How to migrate LXD from DEB/PPA package to Snap package

You are using LXD from a Linux distribution package and you would like to migrate your existing installation to the Snap LXD package. Let’s do the migration together! This post is not about live container migration in LXD. Live container migration is about moving a running container from one LXD server to another. If you …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-migrate-lxd-from-deb-ppa-package-to-snap-package/

How to set the timezone in LXD containers

See https://blog.simos.info/trying-out-lxd-containers-on-our-ubuntu/ on how to set up and test LXD on Ubuntu (or another Linux distribution). In this post we see how to set up the timezone in a newly created container. The problem The default timezone for a newly created container is Etc/UTC, which is what we used to call Greenwich Mean Time. Let’s …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-set-the-timezone-in-lxd-containers/

%d bloggers like this: