Versions Compared

Key

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

...

You may want to add this command to your startup scripts so your don't lose these settings when you reboot.

Code Block
languagebash
sudo echo 2 > /sys/devices/virtual/net/lxcbr0/bridge/multicast_router

Start Containers on Boot

If you would like your containers to be automatically started on boot, you'll need to add the following line to /var/lib/lxc/NAME/config, where NAME is your container's name. By the way, on my system the /var/lib/lxc directory is only accessible by root.

...