ubuntu@ip-10-20-100-90:~$ lxc launch ubuntu:14.04 trusty-test
Creating trusty-test
Starting trusty-test
ubuntu@ip-10-20-100-90:~$ lxc list
+---------------+---------+---------------------+------+------------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+---------------+---------+---------------------+------+------------+-----------+
| apt-cache | RUNNING | 10.87.22.110 (eth0) | | PERSISTENT | 0 |
+---------------+---------+---------------------+------+------------+-----------+
| juju-211ce3-0 | RUNNING | 10.87.22.164 (eth0) | | PERSISTENT | 0 |
+---------------+---------+---------------------+------+------------+-----------+
| trusty-test | RUNNING | 10.87.22.89 (eth0) | | PERSISTENT | 0 |
+---------------+---------+---------------------+------+------------+-----------+
ubuntu@ip-10-20-100-90:~$ juju bootstrap lxd-test lxd
ERROR unknown cloud "lxd-test", please try "juju update-clouds"
ubuntu@ip-10-20-100-90:~$ juju bootstrap lxd test-trusty-lxd
Creating Juju controller "test-trusty-lxd" on lxd/localhost
Looking for packaged Juju agent version 2.0.0 for amd64
To configure your system to better support LXD containers, please see: https://github.com/lxc/lxd/blob/master/doc/production-setup.md
Launching controller instance(s) on lxd/localhost...
- juju-33a043-0 (arch=amd64)
Fetching Juju GUI 2.2.1
Waiting for address
Attempting to connect to 10.87.22.61:22
Logging to /var/log/cloud-init-output.log on the bootstrap machine
Running apt-get update
Running apt-get upgrade
Installing curl, cpu-checker, bridge-utils, cloud-utils, tmux
Fetching Juju agent version 2.0.0 for amd64
Installing Juju machine agent
juju deploy ubuntu --series trustyStarting Juju machine agent (service jujud-machine-0)
Bootstrap agent now started
Contacting Juju controller at 10.87.22.61 to verify accessibility...
Bootstrap complete, "test-trusty-lxd" controller now available.
Controller machines are in the "controller" model.
Initial model "default" added.
ubuntu@ip-10-20-100-90:~$ juju deploy ubuntu --series trusty
Located charm "cs:ubuntu-8".
Deploying charm "cs:ubuntu-8".
ubuntu@ip-10-20-100-90:~$ juju status
Model Controller Cloud/Region Version
default test-trusty-lxd lxd/localhost 2.0.0
App Version Status Scale Charm Store Rev OS Notes
ubuntu waiting 0/1 ubuntu jujucharms 8 ubuntu
Unit Workload Agent Machine Public address Ports Message
ubuntu/0 waiting allocating 0 10.87.22.50 waiting for machine
Machine State DNS Inst id Series AZ
0 pending 10.87.22.50 juju-2640ea-0 trusty
ubuntu@ip-10-20-100-90:~$ lxc version
2.0.4
ubuntu@ip-10-20-100-90:~$ juju --version
2.0.0-xenial-amd64