[lxc-users] ?==?utf-8?q? ?==?utf-8?q? "lxc network create" error
Tomasz Chmielewski
mangoo at wpkg.org
Tue Aug 1 09:40:07 UTC 2017
On Tuesday, August 01, 2017 18:04 JST, Sjoerd <sjoerd at sjomar.eu> wrote:
>
>
> On 30-07-17 17:15, Tomasz Chmielewski wrote:
> > Bug or a feature?
> >
> > # lxc network create dev
> > error: Failed to run: ip link add dev type bridge: Error: either "dev" is duplicate, or "bridge" is a garbage.
> >
> >
> > # lxc network create devel
> > Network devel created
> >
> >
> I vote for feature, since dev is most likely a reserved word, since it's
> short for device in routing terms.
Unless someone has i.e. "prod" and "dev" environments.
> i.e. setting routing can be done like : ip route add 192.168.10.0/24 via
> 10.2.2.1 dev eth0
But that's a different command.
> So in you-re case the command would end like : dev dev ...I would be
> confused by that as well ;)
If we treat it as a feature - then it's an undocumented feature. We would need documentation specifying a list of disallowed network names.
--
Tomasz Chmielewski
https://lxadm.com
More information about the lxc-users
mailing list