SHARE
TWEET

Untitled

a guest Apr 4th, 2013 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@c2c /tmp]# vmadm create -f cent.json
  2. Invalid value(s) for: disks.0.image_uuid
  3. [root@c2c /tmp]# cat cent.json
  4. {
  5.   "brand": "kvm",
  6.   "alias": "centosca",
  7.   "resolvers": [
  8.     "208.67.222.222",
  9.     "8.8.4.4"
  10.   ],
  11.   "ram": "512",
  12.   "vcpus": "1",
  13.   "nics": [
  14.     {
  15.       "nic_tag": "admin",
  16.       "ip": "192.168.6.208",
  17.       "netmask": "255.255.255.0",
  18.       "gateway": "192.168.6.1",
  19.       "model": "virtio",
  20.       "primary": true
  21.     }
  22.   ],
  23.   "disks": [
  24.     {
  25.       "image_uuid": "784e06bc-673f-11e2-9f1f-bbcd45ad3d9b",
  26.       "boot": true,
  27.       "model": "virtio",
  28.       "image_size": 16240
  29.     }
  30.   ]
  31. }
  32. [root@c2c /tmp]# imgadm list
  33. UUID                                  NAME          VERSION  OS       PUBLISHED          
  34. a2a4aa68-3f9b-11e2-9659-877892f2a71a  basic         1.0.0    smartos  2012-12-06T12:01:32Z
  35. bf1781fc-4063-11e2-9e14-5f0db3893a54  centos62      6.2.0    linux    2012-12-07T12:21:39Z
  36. 266277c4-45f8-11e2-9ace-5f2b8c62fdc7  ubuntu1204    12.04    linux    2012-12-14T14:11:27Z
  37. cafe2f1c-63cb-11e2-a744-5b677c034f23  centos        6.3.0    linux    2013-01-21T12:01:32Z
  38. 784e06bc-673f-11e2-9f1f-bbcd45ad3d9b  centos63      6.3.0    linux    2013-01-26T12:21:39Z
  39. 11dd4e5a-6984-11e2-a5a5-a7a09867b2c0  basic         1.0.1    smartos  2013-01-28T12:01:32Z
  40. 3162a91e-8b5d-11e2-a78f-9780813f9142  ubuntu-12.04  2.4.0    linux    2013-03-19T18:15:50Z
  41. 10700f6a-9bf4-11e2-982e-efefa3bb966f  ubuntu1204    12.04    linux    2013-04-03T12:31:39Z
  42. 75891f4a-9d1b-11e2-aab7-03b22c88df90  centos-6.4    6.4.1    linux    2013-04-04T18:15:50Z
  43. 5e27e942-9d0e-11e2-ac40-ff54bfb266c1  ubuntu-12.04  2.4.1    linux    2013-04-04T18:15:50Z
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. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top