- [root@08-00-27-a2-75-1e ~]# vmadm create < vmspec.json
- Invalid nic tag "admin"
- [root@08-00-27-a2-75-1e ~]# nictagadm list
- NAME MACADDRESS LINK
- admin 08:00:27:a2:75:1e e1000g0
- [root@08-00-27-a2-75-1e ~]# cat vmspec.json
- {
- "brand": "kvm",
- "vcpus": 1,
- "autoboot": false,
- "ram": 256,
- "resolvers": ["8.8.8.8", "8.8.4.4"],
- "disks": [
- {
- "boot": true,
- "model": "virtio",
- "size": 4096
- }
- ],
- "nics": [
- {
- "nic_tag": "admin",
- "model": "virtio",
- "ip": "10.88.88.51",
- "netmask": "255.255.255.0",
- "gateway": "10.88.88.1",
- "primary": 1
- }
- ]
- }
SHARE
TWEET
Untitled
a guest
Aug 24th, 2013
33
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
