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. echo '{"gateway":["10.10.0.1"]}' | vmadm update 359df3a5-3407-49bf-9971-397ebb0787bb ... does not work either. Whatever I do, vmadm get 359df3a5-3407-49bf-9971-397ebb0787bb | json nics keeps listing "gateway": "10.1.1.1". This is the Percona 13.4.2 instance. Is it related to that, or am I just getting the syntax wrong? Thanks, Niels Goossens ------------------------------------------- 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
