juju2: how to edit a maas "cloud"?
Cheryl Jennings
cheryl.jennings at canonical.com
Mon Apr 25 15:44:15 UTC 2016
Hi Andreas,
The config is now separate from the cloud definition and can be passed in
when bootstrapping using --config:
juju bootstrap scapestack scapestack --config bootstrap-timeout=1800
You can also pass in a yaml file with config options if you don't want to
type them all out on the command line:
$ cat scapestack-config.yaml
default-series: "trusty"
logging-config: "<root>=DEBUG"
bootstrap-timeout: 1800
$ juju bootstrap scapestack scapestack --config=scapestack-config.yaml
Thanks!
-Cheryl
On Mon, Apr 25, 2016 at 10:26 AM, Andreas Hasenack <andreas at canonical.com>
wrote:
> 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/
>
>
>
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160425/dcf1adc0/attachment.html>
More information about the Juju
mailing list