<div dir="ltr"><span style="font-size:12.8px">Does this mean the environments.yaml file is going away at some point?</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 10:33 AM, Adam Stokes <span dir="ltr"><<a href="mailto:adam.stokes@canonical.com" target="_blank">adam.stokes@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">Does this mean the environments.yaml file is going away at some point?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 2:16 AM, Ian Booth <span dir="ltr"><<a href="mailto:ian.booth@canonical.com" target="_blank">ian.booth@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As advance notice, the next alpha release of Juju 2.0 (due this week) will use a<br>
new default home location. Juju will now adhere to the the XDG desktop standard<br>
and use this directory (by default):<br>
<br>
~/.local/share/juju<br>
<br>
to store its working files (%APPDATA%/Juju on Windows). This is partly to allow<br>
Juju 2.0 to be installed alongside 1.x.<br>
<br>
Very, very soon, the need for an environments.yaml file will be no more, meaning<br>
there will be no need for the user to edit any files in that directory. As a<br>
sneak peak of what is coming, you will be able to, out of the box:<br>
<br>
$ juju bootstrap mycontroller aws/us-west-2<br>
<br>
Note that there's no need to "$ juju init" or edit any environment.yaml to use<br>
the public clouds and regions supported by Juju. Adding support for new regions<br>
or cloud information is a simple matter of running "$juju update-clouds".<br>
There's more to come, but you get the idea.<br>
<br>
Anyway, the point of the above is to say the location of the home/data directory<br>
doesn't really matter as there will be no need to poke around inside it.<br>
<br>
As an interim measure, if you run off master, just:<br>
<br>
mkdir ~/.local/share/juju<br>
cp -r ~/.juju/* ~/.local/share/juju<br>
<br>
if you want to use existing models with the latest build from source.<br>
<span><font color="#888888"><br>
<br>
<br>
<br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>