Created
December 27, 2014 08:14
-
-
Save nemith/b7b9a08a921884e1f028 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@cheerleader /zones/f2b43d91-cd4e-411d-b6b7-75ce1a38c25c/root]# echo '{"update_nics": [{"mac": "e2:8e:b1:48:32:08", "remove_tags": ["vlan_id"]}]}' | vmadm update f2b43d91-cd4e-411d-b6b7-75ce1a38c25c | |
| Successfully updated VM f2b43d91-cd4e-411d-b6b7-75ce1a38c25c | |
| [root@cheerleader /zones/f2b43d91-cd4e-411d-b6b7-75ce1a38c25c/root]# vmadm get f2b43d91-cd4e-411d-b6b7-75ce1a38c25c | json nics[ | |
| { | |
| "interface": "net0", | |
| "mac": "e2:8e:b1:48:32:08", | |
| "vlan_id": 200, | |
| "nic_tag": "admin", | |
| "gateway": "192.168.1.1", | |
| "ip": "192.168.1.63", | |
| "netmask": "255.255.255.0", | |
| "model": "virtio", | |
| "allow_ip_spoofing": true, | |
| "primary": true | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment