Lxc network create gives "Error: unknown flag: --type"

I’m trying to create a network as described in the documentation:

But I get this:

lxc network create BR001 --type=bridge
Error: unknown flag: --type

Whats going wrong here?

What does `lxc --version’ show?

Bridge type is default anyway if you don’t specify.

1 Like

$ lxc --version
4.0.9

I know, but I want to be explicit in how I document my actions as I’m learning all this. The docs should also be correct on these critical items.

1 Like

4.0 LTS doesn’t include ovn networks which necessitated the type flag. Try 5.0 LTS

1 Like