juju2: format of clouds.yaml for juju add-cloud

Andreas Hasenack andreas at canonical.com
Wed Apr 20 18:43:36 UTC 2016


Hi,

I was trying to add another "cloud" so that I could have multiple MAAS
servers available to bootstrap on, without having to type the MAAS IP
everytime in the bootstrap command line, and pass --credential.

Some reading lead me to juju add-cloud, but the documentation only has
examples for openstack clouds, like:

clouds:
  <cloud_name>:
    type: <type_of_cloud>
    regions:
      <region-name>:
        endpoint: <https://xxx.yyy.zzz:35574/v3.0/>
        auth-types: <[access-key, oauth, userpass]>


That does not translate immediately to a MAAS configuration. I asked for
help on IRC and mgz provided me with this syntax:

clouds:
  some-name:
    type: maas
    auth-types: [oauth1]
    endpoint: 'http://<IP>/MAAS/'


Are there other options that could be used here, specific to the "maas"
type? What about other cloud types, what changes in this template?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160420/47f4b8b1/attachment.html>


More information about the Juju mailing list