- [root@c2c /tmp]# vmadm create -f cent.json
- Invalid value(s) for: disks.0.image_uuid
- [root@c2c /tmp]# cat cent.json
- {
- "brand": "kvm",
- "alias": "centosca",
- "resolvers": [
- "208.67.222.222",
- "8.8.4.4"
- ],
- "ram": "512",
- "vcpus": "1",
- "nics": [
- {
- "nic_tag": "admin",
- "ip": "192.168.6.208",
- "netmask": "255.255.255.0",
- "gateway": "192.168.6.1",
- "model": "virtio",
- "primary": true
- }
- ],
- "disks": [
- {
- "image_uuid": "784e06bc-673f-11e2-9f1f-bbcd45ad3d9b",
- "boot": true,
- "model": "virtio",
- "image_size": 16240
- }
- ]
- }
- [root@c2c /tmp]# imgadm list
- UUID NAME VERSION OS PUBLISHED
- a2a4aa68-3f9b-11e2-9659-877892f2a71a basic 1.0.0 smartos 2012-12-06T12:01:32Z
- bf1781fc-4063-11e2-9e14-5f0db3893a54 centos62 6.2.0 linux 2012-12-07T12:21:39Z
- 266277c4-45f8-11e2-9ace-5f2b8c62fdc7 ubuntu1204 12.04 linux 2012-12-14T14:11:27Z
- cafe2f1c-63cb-11e2-a744-5b677c034f23 centos 6.3.0 linux 2013-01-21T12:01:32Z
- 784e06bc-673f-11e2-9f1f-bbcd45ad3d9b centos63 6.3.0 linux 2013-01-26T12:21:39Z
- 11dd4e5a-6984-11e2-a5a5-a7a09867b2c0 basic 1.0.1 smartos 2013-01-28T12:01:32Z
- 3162a91e-8b5d-11e2-a78f-9780813f9142 ubuntu-12.04 2.4.0 linux 2013-03-19T18:15:50Z
- 10700f6a-9bf4-11e2-982e-efefa3bb966f ubuntu1204 12.04 linux 2013-04-03T12:31:39Z
- 75891f4a-9d1b-11e2-aab7-03b22c88df90 centos-6.4 6.4.1 linux 2013-04-04T18:15:50Z
- 5e27e942-9d0e-11e2-ac40-ff54bfb266c1 ubuntu-12.04 2.4.1 linux 2013-04-04T18:15:50Z
SHARE
TWEET
Untitled
a guest
Apr 4th, 2013
39
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.
