Error: Only managed networks can be modified


#1

Hi,
Is there a simple solution to changed managed -> false to true?
Thanks.

root@lxdserver01:~# lxc network list
+--------+----------+---------+-------------+---------+
|  NAME  |   TYPE   | MANAGED | DESCRIPTION | USED BY |
+--------+----------+---------+-------------+---------+
| br0    | bridge   | NO      |             | 0       |
+--------+----------+---------+-------------+---------+
| enp2s0 | physical | NO      |             | 0       |
+--------+----------+---------+-------------+---------+

root@lxdserver01:~# lxc --version
3.0.1

#2

Hi!

managed are the network interfaces that the LXD service can manage for you.
Those interfaces are the ones that LXD has created, such as the private bridge interface usually called lxdbr0.

There is no way to convert an interface between managed and unmanaged, therefore there is no option in the lxc network subcommand to perform such a change.

One of the aspects of a managed interface, is that LXD creates and provides a DHCP/DNS server. That makes good sense for the private bridge interface (lxdbr0).


#3

Thanks for the explanation.