Below is the manifest I created to use it for creating my own image.  The uuid 
was created using the `uuid` generator, as was the uuid for creator_uuid.

{
  "uuid": "bbb683ac-41bd-11e4-844c-933a82a39e2f",
  "name": "apache",
  "version": "1.0.0",
  "description": "Apache snapshot for cloning",
  "os": "smartos",
  "type": "zone-dataset",
  "platform_type": "smartos",
  "cloud_name": "smartos",
  "urn": "smartos:smartos:apache:1.0.0",
  "creator_name": "smartos",
  "creator_uuid": "9421ee20-41be-11e4-8c40-27dc35f40166",
  "vendor_uuid": "9421ee20-41be-11e4-8c40-27dc35f40166",
  "created_at: "2014-09-20:13:40Z",
  "updated_at: "2014-09-20:13:40Z",
  "published_at: "2014-09-20:13:40Z",

  "files": [
   {
    "path": "/tmp/www.image.gz",
    "sha1": "8a9c123d5523f48197c996fd0778e39cd453f6e4",
    "size": "1971920581",
  }
 ],
 "requirements": {
  "networks": [
   {
    "name": "net0",
    "description": "public"
   }
  ]
 }
}

Running imgadm with this manifest and my image results in:
# imgadm install -m manifest -f image.gz
imgadm: error (InvalidManifest): manifest is invalid: Unexpected number


I used Managing Images - SmartOS Documentation - SmartOS Wiki as a basis for 
creating the manifest.  What is wrong that I need to correct?

  
          
Managing Images - SmartOS Documentation - SmartOS Wiki
SmartOS relies on images heavily. Images are templates that contain a disk or 
filesystem image and metadata which are using when creating new Zones or VM's. 
Images are managed using the imgadm tool.   
View on wiki.smartos.org Preview by Yahoo  


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

Reply via email to