Hi,

How can I update the nics on an active VM to remove the netmask? Do I have to 
remove the entire nics
array entry for the specific MAC address and then add it again?

I've been trying all sorts of silly stuff. None of it seems to remove the 
netmask. Here's the latest
attempt:

cat update-nic-ip.json
{
        "update_nics": [
                {
                "mac": "32:e0:8a:0f:98:99",
                "remove_tags": ["netmask"]
                }
        ]
}

# vmadm update <my-uuid> -f update-nic-ip.json
Successfully updated VM <my-uuid>

But, alas, no change to the nic when I 'vmadm get' it again.

Regards,
Tom

-- 

Tom Robinson
IT Manager/System Administrator

MoTeC Pty Ltd

121 Merrindale Drive
Croydon South
3136 Victoria
Australia

T: +61 3 9761 5050
F: +61 3 9761 5051   
E: [email protected]





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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to