You need to specify the mac property before a nic gets update.
I do agree the message can be confusing.
Regards
Jorge
On 2015-08-15 20:24, G B via smartos-discuss wrote:
{
"update_nics": [
{
"nic_tag": "switch2"
}
]
}
This completes successfully when running:
# cat update_nic.json | vmadm update <UUID>
But when running:
# vmadm get <UUID>
still shows:
"nig_tag": "admin"
Shouldn't it now show "switch2" which is an etherstub?
SMARTOS-DISCUSS | Archives [1] [2] | Modify [3] Your Subscription
[4]
Links:
------
[1] https://www.listbox.com/member/archive/184463/=now
[2] https://www.listbox.com/member/archive/rss/184463/26452851-88b650c7
[3]
https://www.listbox.com/member/?&
[4] http://www.listbox.com
-------------------------------------------
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