Ubuntu Pastebin

Paste from bdx at Mon, 17 Oct 2016 18:40:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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
Download as text