network --delete
Syntax
network --delete [--bondif <bond0,bond1,...,bondN>]
[--member <eth0,eth1,...,ethN>]
[--nwif <eth0,eth1,...,ethN>]
--bondif Bond interface(s) to delete.
--member Bond member interface(s) to delete.
--nwif Eth interface(s) to delete.
For example, to delete network interface eth2, run the command:
network --delete --nwif eth2
Result
Interface delete successful. Please restart networking for the changes to take effect.
Result
Shutting down interface eth0: [ OK ]
Shutting down interface eth1: [ OK ]
Shutting down interface eth2: [ OK ]
Shutting down interface eth3: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface bond0:
Determining IP information for bond0... done. [ OK ]
DNS Updated hostname: acme11.storage.local