On 2013-10-28 16:11, Helder Martins wrote:
> Public bug reported:
>
> Description:
>
> * I bootstraped a new environment in my home computer, and started
> several services * In my work computer, I tried to bootstrap to the
> same environment, but I noticed that a new instance was created *
> 'juju status' in my work computer would return none of the services
> created in my home computer, so I assumed it was safe to destroy
> the enviroment * But it was not, it destroyed all my instances and
> services, even those that wasn't listed in the first place.
>
> In the meantime, could someone explain to me how can I boostrap to
> an existing envirmonment? I can't find that info anywhere.
>
You can't "bootstrap" to an existing environment, as you only
bootstrap 1 time. However, you should be able to share the environment
between multiple machines by copying the
~/.juju/environments/$ENV_NAME.jenv file.
You'll need a reasonably new version of juju for it to create the
sharable .jenv file (I think it was introduced in juju 1.16).
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2013-10-28 16:11, Helder Martins wrote:
> Public bug reported:
>
> Description:
>
> * I bootstraped a new environment in my home computer, and started
> several services * In my work computer, I tried to bootstrap to the
> same environment, but I noticed that a new instance was created *
> 'juju status' in my work computer would return none of the services
> created in my home computer, so I assumed it was safe to destroy
> the enviroment * But it was not, it destroyed all my instances and
> services, even those that wasn't listed in the first place.
>
> In the meantime, could someone explain to me how can I boostrap to
> an existing envirmonment? I can't find that info anywhere.
>
You can't "bootstrap" to an existing environment, as you only environments/ $ENV_NAME. jenv file.
bootstrap 1 time. However, you should be able to share the environment
between multiple machines by copying the
~/.juju/
You'll need a reasonably new version of juju for it to create the
sharable .jenv file (I think it was introduced in juju 1.16).
John
=:->
-----BEGIN PGP SIGNATURE----- www.enigmail. net/
7UaoACgkQJdeBCY SNAAN9RQCgov+ qIuqh6ylCsO4WyL wyXQH+ /ZFAl4ErAAhnyHd 4A
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://
iEYEARECAAYFAlJ
GuoAn0IcK19Bep/
=J2a8
-----END PGP SIGNATURE-----