Перейти к содержанию

Delete

nectl interface libvirt delete

Delete a Libvirt interface

Synopsis

Deletes a Libvirt-managed network interface. You can specify either the interface name (as a positional argument) or use the --id flag to specify the interface UUID. If --force is used, the interface is removed forcibly.

nectl interface libvirt delete [interface-name] [flags]

Examples

  nectl interface libvirt delete <interface-name>
  nectl interface libvirt delete --id <interface-id> --force

Options

  -f, --force       Force deletion of the interface (ignoring certain checks).
  -h, --help        help for delete
  -i, --id string   Interface UUID (alternative to positional argument [interface-name])

Options inherited from parent commands

      --host string   gRPC server host (default "127.0.0.1")
      --port uint16   gRPC server port (default 30666)

SEE ALSO