I saw in the vmadm manual that the nic_tag could be set to an etherstub. I
wondered what it would do, if it would create a vnic automatically or not.

I tried it and it hangs on provisioning


UUID                                  TYPE  RAM      STATE             ALIAS
edfb9161-753d-4827-99fb-97024d9a8427  OS    512      provisioning
elastic


nics.*.nic_tag

           This option for a NIC determines which host NIC the VMs nic will be
           attached to. The value can be either a nic tag as listed in the 'NIC
           Names' field in `sysinfo`, or an etherstub or device name.

           type: string (device name or nic tag name)
           vmtype: OS,KVM
           listable: yes
           create: yes
           update yes (requires zone stop/boot)


{
  "brand": "joyent",
  "alias": "elastic",
  "hostname": "elasticsearch0",
  "autoboot": true,
  "max_physical_memory": 512,
  "cpu_cap": 600,
  "quota": "5",
  "image_uuid": "8b05ccbe-0890-11e5-8d30-57386d1d5482",
  "nics": [
    {
      "interface": "net0",
      "nic_tag": "world0",
      "ip": "dhcp",
      "primary": true
    }
  ],
  "resolvers": [
    "8.8.8.8",
    "8.8.4.4"
  ]
}



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to