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

Svc vm attach vnic

svc vm attach_vnic

Attach vmachine interface to domain and connect to selected vnetwork

svc vm attach_vnic <DOMAIN-NAME>|<DOMAIN-ID> [flags]

Options

      --driver string      Interface driver (virtio|e1000|rtl8139|vmxnet3) (default "virtio")
  -f, --file string        File to get the json config from
  -h, --help               help for attach_vnic
  -i, --id string          Domain id
      --link string        Interface link state (up|down) (default "up")
      --mac string         Interface hardware address (aa:bb:cc:dd:ee:ff)
  -n, --name string        Domain name
      --vnet_id string     Vnetwork id
      --vnet_name string   Vnetwork name

Options inherited from parent commands

      --debug           Debug logging
      --format string   Set the output format: table, text, yaml, json, json-rest (default "table")
      --token string    Set the jwt token to use
      --url string      Set the API url, for example https://192.168.150.11.

SEE ALSO