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

Detach

nectl interface libvirt detach

Detach an interface from a libvirt domain

Synopsis

Detach an existing interface (by name or UUID) from a libvirt domain. If an interface name is provided as a positional argument, the --id flag should not be used. If the --id flag is used, no positional argument should be provided.

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

Examples

  nectl interface libvirt detach <interface-name>
  nectl interface libvirt detach --id <interface-id>

Options

  -h, --help        help for detach
  -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