Creating a joyent brand VM does not take the interface option. It doesn't
take it when the vm is being created, nor when updating the vm.
The interface field is set to net0 after the vm is created, even though the
field is set to "eth0" in the vm spec.
And after updating the joyent vm with interface=eth0, the update is
successful, but the vmadm get result still shows net0
Joyent VM spec:
{
"brand": "joyent",
"alias": "created-1443073710",
"hostname": "joyent",
"autoboot": false,
"max_physical_memory": 512,
"cpu_cap": 100,
"quota": "5",
"image_uuid": "62f148f8-6e84-11e4-82c5-efca60348b9f",
"nics": [
{
"interface": "eth0",
"nic_tag": "test0",
"ip": "dhcp",
"gateway": "dhcp",
"netmask": "dhcp",
"primary": true
}
],
"resolvers": [
"8.8.8.8",
"8.8.4.4"
]
}
Joyent VM vmadm get output:
[
{
"interface": "net0",
"mac": "a2:65:18:b0:85:03",
"nic_tag": "test0",
"gateway": "dhcp",
"ip": "dhcp",
"netmask": "dhcp",
"primary": true
}
]
-------------------------------------------
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