You don't need anything in the environment.yaml. You specify that you want
to deploy something to a lxc container in the deploy command. e.g.
juju deploy mysql --to lxc // deploys mysql to a new lxc container on a
new machine
juju deploy wordpress --to lxc:25 // deploys wordpress to a new lxc
container on the already-existing machine #25
juju deploy haproxy --to 1/lxc/3 // deploys haproxy to lxc container #3 on
machine #1
you can also use add-machine to create empty containers:
juju add-machine lxc // adds a new machine with an empty lxc container on it
juju add-machine lxc:5 // adds a new empty lxc container on machine 5
Hope that helps.
-Nate
On Tue, Aug 30, 2016 at 4:16 PM Daniel Bidwell wrote:
> What do I have to put in my .juju/environment.yaml to get juju-1.25.6-
> xenial-amd64 to use lxc containers?
> --
> Daniel Bidwell
>
>
> --
> Juju-dev mailing list
> Juju-dev@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
--
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/juju-dev