>
> ...
>   "files": [
>    {
>     "path": "/tmp/www.image.gz",
>     "sha1": "8a9c123d5523f48197c996fd0778e39cd453f6e4",
>     "size": "1971920581",
>   }
>  ],
>
...
> 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
> <http://wiki.smartos.org/display/DOC/Managing+Images> as a basis for
> creating the manifest.  What is wrong that I need to correct?
>


Hello,

I don't know that it's your only problem, but one problem that immediately
jumps out at me is that you've used a string for the "size" parameter here
instead of an integer as is described in the examples on the page you've
linked to. You definitely will want to change that to an integer (ie.
remove the quotes).

Hope that helps.

Thanks,
Josh



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