Nmstate

A Declarative API for Host Network Management

View on GitHub

Conditional Compiling

In order to support generating offline configuration on MacOS, we introduced conditional compiling since nmstate 2.2.0.

By default, nmstate is compiled with all features enabled:

To compile only the gen_conf feature:

cd rust && cargo build --no-default-features --features gen_conf

You may also download pre-compiled nmstatectl binary at Nmstate release page.