You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
@jalbstmeijer - presumably you tested the compiled binary to make sure it was working with something like:
cmd/netwrangler --help
And you were able to get some help output?
NetWrangler only supports systemd-networkd config script generation. In addition, the static/netplan.yaml references an interface that may not be on your system (enp3s0). You may need to adjust YAML values for your system. It is also intended to be a one-shot network configuration builder. You still need to run appropriate commands to bring interfaces up/down.
If you are using the Digital Rebar Platform (DRP), the NetWrangler code/capability has been incorporated in to the drpcli command line - and is accessed through the following options:
drpcli net ...
It "fronends" the usage of NetWrangler.
What are you attempting to achieve with NetWrangler? Within the scope of usage with Digital Rebar, or as a separate and standalone tool?
In general - you need to provide an operation to perform (eg -op compile). Using your test - with an invalid NIC that doesn't exist on my system, I get:
root@kvm-0:~/netwrangler# cat test-data/static/netplan.yaml | cmd/netwrangler -op compile
2021/01/15 17:10:17 Error reading 'netplan': netplan:
Ethernet interface enp3s0 does not resolve to any interfaces
Modifying the YAML to reference a physical NIC on my system, using the similar syntax, I get:
Hi,
I might me missing something, but I do not seem to get any output from; (tried different options, non even resulting in an error)
cat test-data/static/netplan.yaml | cmd/netwrangler
Gr, J
The text was updated successfully, but these errors were encountered: