Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
You may want to add this command to your startup scripts so your don't lose these settings when you reboot.
Code Block | ||
---|---|---|
| ||
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.
...