armbian / config

Armbian Linux configuration utility
GNU General Public License v2.0
467 stars 168 forks source link

Exclude unavailable interface for nmcli #144

Closed AristoChen closed 3 years ago

AristoChen commented 3 years ago

If network interface is configured in /etc/network/interface, nmcli device status will indicate the interface as unavailable, so we should add grep -v unavailable, then we can use ip_editor instead of nm_ip_editor to handle setting static IP