Skip to content

Latest commit

 

History

History
31 lines (30 loc) · 1.28 KB

cli.md

File metadata and controls

31 lines (30 loc) · 1.28 KB

Netplan CLI

---
maxdepth: 1
hidden: true
---
generate <netplan-generate>
apply <netplan-apply>
try <netplan-try>
get <netplan-get>
set <netplan-set>
info <netplan-info>
ip <netplan-ip>
rebind <netplan-rebind>
status <netplan-status>

Netplan provides a command line interface, called netplan, which a user can utilize to control certain aspects of the Netplan configuration.

Tool Description
help Show a generic help message
generate Generate backend specific configuration files from /etc/netplan/*.yaml
apply Apply current netplan config to running system
try Try to apply a new netplan config to running system, with automatic rollback
get Get a setting by specifying a nested key like "ethernets.eth0.addresses", or "all"
set Add new setting by specifying a dotted key=value pair like "ethernets.eth0.dhcp4=true"
info Show available features
ip Retrieve IP information (like DHCP leases) from the system
rebind Rebind SR-IOV virtual functions of given physical functions to their driver
status Query networking state of the running system