You have a trailing comma after size.

-Tim

On Sun, Sep 21, 2014 at 4:00 PM, G B via smartos-discuss <
[email protected]> wrote:

> Removing the quotes around the value for size still generates the same
> error.
>
>
> On Sunday, September 21, 2014 2:28 PM, Josh Wilsdon via smartos-discuss <
> [email protected]> wrote:
>
>
> ...
>   "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>
> <https://www.listbox.com/member/archive/rss/184463/24559458-54d8e931> |
> Modify <https://www.listbox.com/member/?&;> Your Subscription
> <http://www.listbox.com/>
>
>
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/24549504-c4bff9d3> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-- 
http://timboudreau.com



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