[lxc-users] lxc network set...?==?utf-8?q? error: Only managed networks can be modified

Tomasz Chmielewski mangoo at wpkg.org
Thu Jun 29 13:23:14 UTC 2017


I've set this bridge in /etc/network/interfaces on the host:

# lxc network show br-testing
config: {}
description: ""
name: br-testing
type: bridge
used_by:
- /1.0/containers/TDv2-testing-307c906842-2017-06-29-11-55-34
- /1.0/containers/TDv2-testing-bc29e3f587-2017-06-29-11-47-25
- /1.0/containers/TDv2-testing-bc29e3f587-2017-06-29-11-49-17
- /1.0/containers/TDv2-z-testing-a19ea62218-2017-06-29-10-31-48
managed: false


Because of this, it's unmanaged, and I'm not able to configure it via "lxc network edit":

# lxc network edit br-testing
error: Only managed networks can be modified.


How do I best get this unmanaged network to be managed?

This one unfortunately doesn't work - so I guess it will be some sort of removing the bridge from the config, then adding it with lxc:

# lxc network set br-testing managed=true
error: Only managed networks can be modified.

But perhaps there is some "recommended" way?


-- 
Tomasz Chmielewski
https://lxadm.com


More information about the lxc-users mailing list