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 <andr...@canonical.com>
wrote:

> On Mon, Apr 25, 2016 at 12:10 PM, Andreas Hasenack <andr...@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@nsn7:~$ cat foo
> clouds:
>     scapestack:
>         type: maas
>         auth-types: [oauth1]
>         endpoint: http://10.96.0.10/MAAS/
>         bootstrap-timeout: 1800
>
> andreas@nsn7:~$ juju add-cloud --replace scapestack foo
>
> andreas@nsn7:~$ juju show-cloud local:scapestack
> defined: local
> type: maas
> auth-types: [oauth1]
> endpoint: http://10.96.0.10/MAAS/
>
>
>
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to