vinfra service compute server iface detach
Detach a network interface from a virtual machine:
usage: vinfra service compute server iface detach --server <server> <interface>
--server <server>
- Virtual machine ID or name
<interface>
- Network interface ID
Example:
# vinfra service compute server iface detach 471e37fd-13ae-4b8f-b70c-90ac02cc4386 \ --server 6c80b07f-da46-4a8a-89a4-eecb8faceb27 Operation successful.
This command detaches the network interface with the ID 471e37fd-13ae-4b8f-b70c-90ac02cc4386
from the VM with the ID 6c80b07f-da46-4a8a-89a4-eecb8faceb27
.