juju2: how to edit a maas "cloud"?

Andreas Hasenack andreas at canonical.com
Mon Apr 25 15:26:35 UTC 2016


On Mon, Apr 25, 2016 at 12:10 PM, Andreas Hasenack <andreas at canonical.com>
wrote:

> Hi,
>
> I added a couple of maas servers to my cloud list:
> $ juju list-clouds
> CLOUD             TYPE        REGIONS
> aws               ec2         us-east-1, us-west-1, us-west-2, eu-west-1,
> eu-central-1, ap-southeast-1, ap-southeast-2 ...
> ...
> local:beretstack  maas
> local:scapestack  maas
>
> I now want to add a bootstrap-timeout parameter to each.
>
> How do I do that? Do I need to recreate the yaml definition for each maas
> "cloud", add the parameter, and add-cloud --replace it?
>


That didn't work, btw:

andreas at nsn7:~$ cat foo
clouds:
    scapestack:
        type: maas
        auth-types: [oauth1]
        endpoint: http://10.96.0.10/MAAS/
        bootstrap-timeout: 1800

andreas at nsn7:~$ juju add-cloud --replace scapestack foo

andreas at nsn7:~$ juju show-cloud local:scapestack
defined: local
type: maas
auth-types: [oauth1]
endpoint: http://10.96.0.10/MAAS/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160425/9f703d6b/attachment.html>


More information about the Juju mailing list