summaryrefslogtreecommitdiff
path: root/man/networkctl.xml
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2019-05-22 15:16:41 +0530
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-05-29 11:00:37 +0900
commit9cd8c76661b8ba17863de3c991fd5b0ecf15a421 (patch)
treede72abd73af34624c23f2971d881753ad4c222ee /man/networkctl.xml
parent0feeac6418a62ed03b4859de83fa2f7bfa7725a7 (diff)
downloadsystemd-9cd8c76661b8ba17863de3c991fd5b0ecf15a421.tar.gz
networkctl: add support to delete virtual netdevs
We now don't have the support to delete netdevs and dependent upon iproute to delete. With this we can delete via networkctl and use in our test cases too. Note that it supports deleting multiple links at once. ``` sudo ./networkctl delete test1 test2 test3 test4 ```
Diffstat (limited to 'man/networkctl.xml')
-rw-r--r--man/networkctl.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/man/networkctl.xml b/man/networkctl.xml
index 6c28c4bb2d..77f1e1fdfc 100644
--- a/man/networkctl.xml
+++ b/man/networkctl.xml
@@ -271,6 +271,13 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <command>delete</command>
+ </term>
+ <listitem><para>Deletes virtual netdevs. Takes interface name or index number.</para></listitem>
+ </varlistentry>
+
</variablelist>
</refsect1>