<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I think there are some problem at sunstone...<br>
    <br>
    if I create a appliance through sunstone it fails, but if i create
    at appmarket create file.json it works ok.<br>
    <br>
    <br>
    my doubt its.... how change the template to write it in json...<br>
    <br>
    <br>
    there are an example.<br>
    <br>
    <br>
    CONTEXT=[<br>
      NETWORK="YES",<br>
      SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]<br>
    CPU="1"<br>
    DISK=[<br>
      IMAGE_ID="0" ]<br>
    FEATURES=[<br>
      ACPI="yes" ]<br>
    GRAPHICS=[<br>
      LISTEN="0.0.0.0",<br>
      TYPE="VNC" ]<br>
    MEMORY="1024"<br>
    NIC=[<br>
      NETWORK_ID="0" ]<br>
    OS=[<br>
      ARCH="x86_64",<br>
      BOOT="hd",<br>
      ROOT="hda1" ]<br>
    <br>
    <br>
    how i can put that in json? <br>
    <br>
    <br>
    <div class="moz-cite-prefix">El 30/09/14 11:32, Alejandro Feijóo
      escribió:<br>
    </div>
    <blockquote cite="mid:542A7891.4050900@cesga.es" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Thanks so much, finally found that comand (mine error not set a
      pass and user...)<br>
      <br>
      now i have a problem because i just create an appliance but i
      think i must set other ip and not localhost.<br>
      <br>
      <br>
      I create and register img, after that opennebula and appmarket set
      link to ( <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://localhost:6242/appliance/542a773df3474d08bb000003">http://localhost:6242/appliance/542a773df3474d08bb000003</a>)
      but... thats nos possible to import appliance because (cant
      determine image size) <br>
      <br>
      any idea? its works only change the 127.0.0.1 at appmarket server
      config? <br>
      <br>
      Thanks in advance.<br>
      <br>
      <br>
      <div class="moz-cite-prefix">El 30/09/14 11:25, Daniel Molina
        escribió:<br>
      </div>
      <blockquote
cite="mid:CAPvywewMghFwSeo6+Upd70zTVFnA+AQp3pBKsvrBW-HB_oGcPw@mail.gmail.com"
        type="cite">
        <div dir="ltr">Hi Alejandro,
          <div><br>
          </div>
          <div>The credentials that you define in the
            appmarket-sunstone.conf is just for Sunstone and it depends
            on how do you want to use the Appmarket. If you want to use
            it as regular user, in the same way you use the default
            Marketplace tab included in OpenNebula, you have to create a
            new regular user in AppMarket and use it in the conf file.
            On the other hand if you want to use the AppMarket as an
            admin and create new appliances you have to use the default
            credentials included in appmarket-server.conf or create a
            new admin user.
            <div><br>
            </div>
            <div>If you want to use the CLI you have to provide the
              credentials as params</div>
            <div>$ <span
                style="font-family:arial,sans-serif;font-size:13px"> </span><span
                style="font-family:arial,sans-serif;font-size:13px">appmarket-user

                list --user default --password default</span></div>
            <div><span
                style="font-family:arial,sans-serif;font-size:13px"><br>
              </span></div>
            <div><span
                style="font-family:arial,sans-serif;font-size:13px">Cheers</span></div>
          </div>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 30 September 2014 08:34, Alejandro
            Feijóo <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:alfeijoo@cesga.es" target="_blank">alfeijoo@cesga.es</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br>
              <br>
              I´m just testing appmarket but i have some problems...<br>
              <br>
              I used the Guide(1) but... at first i did not change the
              appmarket-server.conf for admin credentials (just start
              with default username and password)<br>
              <br>
              But... i dont understant the credentials part... it seems
              that i neet to create a user at appmarket and set it at
              sunstone-appmarket.conf but... what user?<br>
              <br>
              i tried with default user and default password (because it
              has at appmarket-server.conf) but that not work...<br>
              <br>
              any idea? because as root, if i use appmarket-user i have
              no access:<br>
              <br>
              [root@test11 ~]# appmarket-user list<br>
              {<br>
                "message": "User not authorized"<br>
              }<br>
              <br>
              <br>
              Thanks in advance.<br>
              <br>
              <br>
              (1): <a moz-do-not-send="true"
href="https://github.com/OpenNebula/addon-appmarket/blob/master/doc/installation_and_configuration.md"
                target="_blank">https://github.com/OpenNebula/addon-appmarket/blob/master/doc/installation_and_configuration.md</a><span
                class="HOEnZb"><font color="#888888"><br>
                  <br>
                  -- <br>
                  Alejandro Feijóo Fraga<br>
                  Systems Technician<br>
                  CESGA<br>
                  <br>
                </font></span></blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr">
            <div>--<br>
            </div>
            Daniel Molina<br>
            Project Engineer<br>
            OpenNebula - Flexible Enterprise Cloud Made Simple<br>
            <a moz-do-not-send="true" href="http://www.OpenNebula.org"
              target="_blank">www.OpenNebula.org</a> | <a
              moz-do-not-send="true"
              href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a>
            | @OpenNebula</div>
        </div>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Alejandro Feijóo Fraga
Systems Technician
CESGA</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Alejandro Feijóo Fraga
Systems Technician
CESGA</pre>
  </body>
</html>