<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      The way this has been handled in LXD is by enabling alias names
      for images, and having Juju look for a particular alias
      ('juju/ubuntu/series') in preference to vanilla ubuntu/series.<br>
      <br>
      Mark<br>
      <br>
      On 27/02/17 16:57, Blake Rouse wrote:<br>
    </div>
    <blockquote
cite="mid:CAELUp0CQNM_y52MRZgY+oc6eDvVvB=LgbROrFex-CKDYkPjkaQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Matt,
        <div><br>
        </div>
        <div>At the moment Juju does not support deploying a charm with
          a custom image in MAAS. It is required to use the provided
          Ubuntu images with Juju. It is possible to modify the preseed
          of the deploying machine which will allow you to make some
          changes to the system before Juju takes over [1]. Again this
          is also not recommended with Juju, Juju wants to be running on
          a clean Ubuntu image.</div>
        <div><br>
        </div>
        <div>[1]  <a moz-do-not-send="true"
            href="https://docs.ubuntu.com/maas/1.9/en/development/preseeds">https://docs.ubuntu.com/maas/1.9/en/development/preseeds</a></div>
        <div><br>
        </div>
        <div>Note: This is documentation for MAAS 1.9, but the same
          applies for 2.0+. I have filed a bug for the missing
          documentation after 1.9. <a moz-do-not-send="true"
            href="https://bugs.launchpad.net/maas/+bug/1668315">https://bugs.launchpad.net/maas/+bug/1668315</a></div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Blake</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Feb 27, 2017 at 4:53 AM, Matt
          Rae <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:matt.rae@canonical.com" target="_blank">matt.rae@canonical.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hi, is there is a suggested way to utilize
              custom MAAS images when deploying services with juju?
              <div><br>
              </div>
              <div>Realizing in most cases it is suggested to use a
                charm to install packages rather than updating the
                images.<br>
              </div>
              <div>
                <div><br>
                </div>
                <div>Thanks!</div>
                <span class="HOEnZb"><font color="#888888">
                    <div><br>
                    </div>
                    <div>Matt</div>
                  </font></span></div>
            </div>
            <br>
            --<br>
            Maas-devel mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Maas-devel@lists.ubuntu.com">Maas-devel@lists.ubuntu.com</a><br>
            Modify settings or unsubscribe at: <a
              moz-do-not-send="true"
              href="https://lists.ubuntu.com/mailman/listinfo/maas-devel"
              rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/maas-devel</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>