Ubuntu Pastebin

Paste from beisner at Tue, 23 Aug 2016 18:26:15 +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
57
58
59
60
61
62
63
64
65
66
    7  sudo apt-get install juju lxd zfsutils-linux squid-deb-proxy     python-novaclient python-keystoneclient python-glanceclient     python-neutronclient python-openstackclient
    8  sudo lxd init
   18  git clone https://github.com/openstack-charmers/openstack-on-lxd
   19  cd openstack-on-lxd/
   21  lxc profile create juju-default 2>/dev/null || echo "juju-default profile already exists"
   22  cat lxd-profile.yaml | lxc profile edit juju-default
   23  juju bootstrap --config config.yaml localhost lxd
   24  juju status
   26  juju deploy ubuntu
   27  juju status

ubuntu@xenial175821:~/git/openstack-on-lxd$ juju status
MODEL    CONTROLLER  CLOUD/REGION   VERSION
default  localhost   lxd/localhost  2.0-beta12

APP     VERSION  STATUS   EXPOSED  ORIGIN      CHARM   REV  OS
ubuntu           unknown  false    jujucharms  ubuntu  0    ubuntu

UNIT      WORKLOAD  AGENT  MACHINE  PORTS  PUBLIC-ADDRESS  MESSAGE
ubuntu/0  unknown   idle   0               10.0.8.125      

MACHINE  STATE    DNS         INS-ID         SERIES  AZ
0        started  10.0.8.125  juju-e0283f-0  xenial  


   30  lxc launch ubuntu-daily:xenial test123
   31  lxc list
   32  lxc exec test123 dig ubuntu.com
   36  lxc exec test123 wget http://cdimage.ubuntu.com/ubuntu-server/xenial/daily/current/SHA1SUMS
   37  lxc exec test123 apt-get update
   44  lxc exec test123 dig archive.ubuntu.com

ubuntu@xenial175821:~/git/openstack-on-lxd$ juju ssh 0 dig ubuntu.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> ubuntu.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60309
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 5

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ubuntu.com.                    IN      A

;; ANSWER SECTION:
ubuntu.com.             382     IN      A       91.189.94.40

;; AUTHORITY SECTION:
ubuntu.com.             386     IN      NS      ns3.p27.dynect.net.
ubuntu.com.             386     IN      NS      ns4.p27.dynect.net.
ubuntu.com.             386     IN      NS      ns1.p27.dynect.net.
ubuntu.com.             386     IN      NS      ns2.p27.dynect.net.

;; ADDITIONAL SECTION:
ns1.p27.dynect.net.     39578   IN      A       208.78.70.27
ns2.p27.dynect.net.     39646   IN      A       204.13.250.27
ns3.p27.dynect.net.     39646   IN      A       208.78.71.27
ns4.p27.dynect.net.     39646   IN      A       204.13.251.27

;; Query time: 84 msec
;; SERVER: 10.0.8.1#53(10.0.8.1)
;; WHEN: Tue Aug 23 18:26:03 UTC 2016
;; MSG SIZE  rcvd: 205

Connection to 10.0.8.125 closed.
Download as text