Niels Goossens via smartos-discuss wrote:
Hello all,

Struggling with vmadm syntax. I made a typo in the gateway ip for one of my zones and I am trying to change that.

vmadm update 359df3a5-3407-49bf-9971-397ebb0787bb gateway=10.10.0.1 does not work. I've read up on issue 106 (https://github.com/joyent/smartos-live/issues/106), so I have tried the suggestions listed there:

vmadm update 359df3a5-3407-49bf-9971-397ebb0787bb << EOF
> {
> "update_nics": [
> {
> "gateway": "10.10.0.1"
> }
> ]
> }
> EOF

... does not work. Setting gateway to [] does not work either.


You need to specify the NIC MAC address in the update_nics JSON.

--
Ian.



-------------------------------------------
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