Tag: network

How to get LXD containers get IP from the LAN with routed network

Update #3 – 27 January 2020: Fedora requires special instructions for routed to work. See the section below named The routed profile for Fedora for more. UPDATE #2 – 26 January 2020: Debian requires special instructions for routed to work. See the section below named The routed profile for Debian for more. UPDATE #1 – …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-get-lxd-containers-get-ip-from-the-lan-with-routed-network/

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 …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-add-both-a-private-and-public-network-to-lxd-using-cloud-init/

How to use LXD container hostnames on the host in Ubuntu 18.04

Update: 12 Oct 2018 – The systemd service file and the LXD lxdbr0 configuration have been updated according to the comment by mDfRgmd. Please check again and verify that you are using the updated version. If you have two LXD containers, mycontainer1 and mycontainer2, then you can reference each other with those handy *.lxd hostnames …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-use-lxd-container-hostnames-on-the-host-in-ubuntu-18-04/

How to create a snap for a Python app with networking using snapcraft in Ubuntu 16.04

Update #1: 6 Feb 2017  httpstat needs curl. Originally, this HowTo would freshly compile curl from the github source. Now, this HowTo shows how to reuse the existing curl package from the Ubuntu repositories. In this post we see how to create a snap package (or, just snap) of some software in Ubuntu 16.04. A …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-create-a-snap-for-a-python-app-with-networking-using-snapcraft-in-ubuntu-16-04/