Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
sudo cp /etc/default/lxd-bridge /etc/default/lxd-bridge.ori
# This line does not work yet, I need lookup how to escape the /.
sudo sed -i 's/LXD_CONFILE=""/LXD_CONFILE="\/opt\/lxd\/dnsmasq.conf"' /etc/default/lxd-bridge

Restart the services to make sure things went well,

Code Block
languagebash
sudo service lxd-bridge stop
sudo service lxd-bridge start


Reference

http://jason.trickett.us/2016/08/lxd-containers-static-ip-addresses-heres/ - Source article for this but missing some details on changing the default range otherwise you'll end up with collisions.