<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>The patch and instructions are listed here:<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://github.com/juju/juju/pull/6954">https://github.com/juju/juju/pull/6954</a></p>
    <p>We didn't go this route. In our project, we ended up using MAAS
      to provision CentOS node to test charms.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 06/15/2017 10:51 PM, fengxia wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6f13f3ae-7da6-0501-5ea6-0c14bf66b140@lenovo.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p>+1<br>
      </p>
      <br>
      <div class="moz-cite-prefix">On 06/15/2017 10:47 PM, Andrew
        Wilkins wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CANMT5Rmsbz-_zD0naVHSBfkrLGtBub0rQG6TaZ7zcbSsMu1XjA@mail.gmail.com">
        <div dir="ltr">
          <div>
            <div class="gmail_quote">
              <div dir="ltr">On Fri, Jun 16, 2017 at 1:36 AM John Meinel
                <<a href="mailto:john@arbash-meinel.com"
                  moz-do-not-send="true">john@arbash-meinel.com</a>>
                wrote:<br>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div dir="ltr">"juju show-machine 10" is likely to tell
                  you why we are failing to provision the machine.
                  <div><br>
                  </div>
                  <div>My guess is that we acctually need the alias to
                    be "juju/centos7/amd64" for Juju to recognize that
                    it is the container image we want to be starting.</div>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>Also, the centos7 image from <a
                  href="http://linuxcontainers.org"
                  moz-do-not-send="true">linuxcontainers.org</a> is not
                suitable for Juju to use. See <a
                  href="https://bugs.launchpad.net/juju/+bug/1495978/comments/21"
                  moz-do-not-send="true">https://bugs.launchpad.net/juju/+bug/1495978/comments/21</a>.
                <div><br>
                </div>
                <div>(We really need to publish the image, so people
                  don't have to do this.)</div>
              </div>
              <div> </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div dir="ltr">
                  <div>John</div>
                  <div>=:-></div>
                  <div><br>
                  </div>
                </div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Thu, Jun 15, 2017 at 8:37
                    PM, Daniel Bidwell <span dir="ltr"><<a
                        href="mailto:drbidwell@gmail.com"
                        target="_blank" moz-do-not-send="true">drbidwell@gmail.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">I
                      am trying to deploy a charm that I am writing for
                      both ubuntu and<br>
                      centos.  "lxc image alias list" produces:<br>
                      <br>
                      lxc image alias list<br>
+-------------------+--------------+-------------------+<br>
                      |       ALIAS       |
                      FINGERPRINT  |    DESCRIPTION    |<br>
+-------------------+--------------+-------------------+<br>
                      | centos7           | 41c7bb494bbd |
                      centos7           |<br>
+-------------------+--------------+-------------------+<br>
                      | juju/xenial/amd64 | 1e59027d1d58 |
                      juju/xenial/amd64 |<br>
+-------------------+--------------+-------------------+<br>
                      | ubuntu-xenial     | 1e59027d1d58 |
                      ubuntu-xenial     |<br>
+-------------------+--------------+-------------------+<br>
                      <br>
                      "juju deploy ~/charms/xenial/aubase1 --series
                      centos7 aubasecentos"<br>
                      looks like it is starting, but a "juju status"
                      produces:<br>
                      <br>
                      juju status<br>
                      Model    Controller  Cloud/Region         Version<br>
                      default  lxd-test    localhost/localhost  2.1.2<br>
                      <br>
App           Version  Status   Scale  Charm    Store  Rev  OS      Notes<br>
aubase1                active       1  aubase1  local    5  ubuntu  <br>
aubasecentos           waiting    0/1  aubase1  local    4  centos  <br>
                      <br>
Unit            Workload  Agent       Machine  Public
                      address  Ports  Message<br>
aubase1/4*      active    idle        9        10.130.54.192          <br>
aubasecentos/4  waiting   allocating  10                              waiting
                      for machine<br>
                      <br>
                      Machine  State    DNS            Inst
                      id        Series   AZ<br>
9        started  10.130.54.192  juju-a0c4c9-9  xenial   <br>
10       down                    pending        centos7<br>
                      <br>
                      What do I need to do to deploy a centos lxd
                      container with my charm?<br>
                      <span class="m_-262297986700416840HOEnZb"><font
                          color="#888888">--<br>
                          Daniel Bidwell <<a
                            href="mailto:drbidwell@gmail.com"
                            target="_blank" moz-do-not-send="true">drbidwell@gmail.com</a>><br>
                          <br>
                          <br>
                          --<br>
                          Juju mailing list<br>
                          <a href="mailto:Juju@lists.ubuntu.com"
                            target="_blank" moz-do-not-send="true">Juju@lists.ubuntu.com</a><br>
                          Modify settings or unsubscribe at: <a
                            href="https://lists.ubuntu.com/mailman/listinfo/juju"
                            rel="noreferrer" target="_blank"
                            moz-do-not-send="true">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
                        </font></span></blockquote>
                  </div>
                  <br>
                </div>
                --<br>
                Juju mailing list<br>
                <a href="mailto:Juju@lists.ubuntu.com" target="_blank"
                  moz-do-not-send="true">Juju@lists.ubuntu.com</a><br>
                Modify settings or unsubscribe at: <a
                  href="https://lists.ubuntu.com/mailman/listinfo/juju"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
              </blockquote>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
<a class="moz-txt-link-abbreviated" href="mailto:fxia1@lenovo.com" moz-do-not-send="true">fxia1@lenovo.com</a>
        
Lenovo.com 
Twitter | Facebook | Instagram | Blogs | Forums
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
<a class="moz-txt-link-abbreviated" href="mailto:fxia1@lenovo.com">fxia1@lenovo.com</a>
        
Lenovo.com 
Twitter | Facebook | Instagram | Blogs | Forums
</pre>
  </body>
</html>