lxd bridge
ubuntu@bobbybooshay:~$ cat /etc/default/lxd-bridge
# WARNING: This file is generated by a debconf template!
# It is recommended to update it by using "dpkg-reconfigure -p medium lxd"
# Whether to setup a new bridge or use an existing one
USE_LXD_BRIDGE="true"
# Bridge name
# This is still used even if USE_LXD_BRIDGE is set to false
# set to an empty value to fully disable
LXD_BRIDGE="lxdbr0"
# Update the "default" LXD profile
UPDATE_PROFILE="true"
# Path to an extra dnsmasq configuration file
LXD_CONFILE=""
I tested this binary and all seems to work now:
kernel param bobbybooshay: ~$ cat /proc/cmdline /boot/vmlinuz- 4.4.0-62- generic root=UUID= 3755a423- 99c8-4fdd- b5a4-63948f25b8 d2 ro net.ifnames=0 ipv6.disable=1
ubuntu@
BOOT_IMAGE=
lxd bridge bobbybooshay: ~$ cat /etc/default/ lxd-bridge
ubuntu@
# WARNING: This file is generated by a debconf template!
# It is recommended to update it by using "dpkg-reconfigure -p medium lxd"
# Whether to setup a new bridge or use an existing one BRIDGE= "true"
USE_LXD_
# Bridge name
# This is still used even if USE_LXD_BRIDGE is set to false
# set to an empty value to fully disable
LXD_BRIDGE="lxdbr0"
# Update the "default" LXD profile PROFILE= "true"
UPDATE_
# Path to an extra dnsmasq configuration file
LXD_CONFILE=""
# DNS domain for the bridge
LXD_DOMAIN="lxd"
# IPv4 ADDR="10. 138.179. 1"
## IPv4 address (e.g. 10.0.8.1)
LXD_IPV4_
## IPv4 netmask (e.g. 255.255.255.0) NETMASK= "255.255. 255.0"
LXD_IPV4_
## IPv4 network (e.g. 10.0.8.0/24) NETWORK= "10.138. 179.1/24"
LXD_IPV4_
## IPv4 DHCP range (e.g. 10.0.8. 2,10.0. 8.254) DHCP_RANGE= "10.138. 179.2,10. 138.179. 254"
LXD_IPV4_
## IPv4 DHCP number of hosts (e.g. 250) DHCP_MAX= "252"
LXD_IPV4_
## NAT IPv4 traffic
LXD_IPV4_NAT="true"
# IPv6 b368:4242: :1)
## IPv6 address (e.g. 2001:470:
LXD_IPV6_ADDR=""
## IPv6 CIDR mask (e.g. 64)
LXD_IPV6_MASK=""
## IPv6 network (e.g. 2001:470: b368:4242: :/64)
LXD_IPV6_NETWORK=""
## NAT IPv6 traffic NAT="false"
LXD_IPV6_
# Run a minimal HTTP PROXY server PROXY=" false"
LXD_IPV6_
juju bootstrap working lxdclient client.go:203 connecting to LXD remote "local": "unix:/ //var/lib/ lxd/unix. socket" lxdclient client.go:251 using LXD API version "1.0" lxdclient client.go:305 LXD "default" profile uses network bridge "lxdbr0" lxdclient client.go:203 connecting to LXD remote "local": "unix:/ //var/lib/ lxd/unix. socket" lxdclient client.go:251 using LXD API version "1.0" lxdclient client.go:305 LXD "default" profile uses network bridge "lxdbr0" juju.commands bootstrap.go:783 authenticating with region "localhost" and credential "default" () juju.commands bootstrap.go:895 provider attrs: map[] ubuntu/ .local/ share/juju/ ssh/juju_ id_rsa. pub" to authorized-keys juju.commands bootstrap.go:951 preparing controller with config: map[transmit- vendor- metrics: true apt-mirror: agent-stream: released http-proxy: proxy-ssh:false provisioner- harvest- mode:destroyed test-mode:false logging-config: apt-https-proxy: apt-ftp-proxy: ftp-proxy: apt-http-proxy: enable- os-refresh- update: true image-stream: released logforward- enabled: false automatically- retry-hooks: true image-metadata-url: firewall- mode:instance enable- os-upgrade: true type:lxd authorized- keys:ssh- rsa AAAAB3NzaC1yc2E AAAADAQABAAABAQ ClwKu50uGyfbOuN oJo/BmEgCSZgTqK Ee502SvN5kOk4G9 Qtg2FBkfT5nFtn7 Ayyihpijo83prq6 8zNs+qF/ 9c7UwaUuorTM7dp nIHmgCZglJER6Sy t6ZUQDZs6OOf1vy l5RiF2tQ36HbDJJ 9YIsN/ZSdUmzf48 jeAOa2sZz4Z2Key vOuxmUhVXlCW14b v7f775P88y8Brvb dM8lRcciulIsaCB mDSpGW1ZV/ RXjCxS+ 1ty6C9h23I6iGql IWvGU+j6d8l3qoV roDaifigNJ/ OfdGjJonusSx9vO mTijVJKFaRCAWU1 ncFqb6YO7KtArEi zu4RgfGA7yeBlF2 i0j1a5 juju-client-key series: xenial ssl-hostname- verification: true disable- network- management: false name:controller https-proxy: uuid:1d004626- 8636-4169- 899d-30bdea6e5d 57 development:false net-bond- reconfigure- delay:17 agent-metadata-url: no-proxy: ignore- machine- addresses: false] lxdclient client.go:203 connecting to LXD remote "local": "unix:/ //var/lib/ lxd/unix. socket" lxdclient client.go:251 using LXD API version "1.0" lxdclient client.go:305 LXD "default" profile uses network bridge "lxdbr0" localhost" on lxd/localhost juju.commands bootstrap.go:529 combined bootstrap constraints: bootstrap bootstrap.go:199 model "controller" supports service/machine networks: false bootstrap bootstrap.go:201 network management by juju enabled: true bootstrap tools.go:72 looking for bootstrap agent binaries: version=2.2-alpha1 simplestreams simplestreams. go:683 using default candidate for content id "com.ubuntu. juju:devel: tools" are {20161007 mirrors:1.0 content-download streams/ v1/cpc- mirrors. sjson []}
19:25:29 INFO juju.cmd supercommand.go:63 running juju [2.2-alpha1 gc go1.7.2]
19:25:29 DEBUG juju.cmd supercommand.go:64 args: []string{"./juju", "bootstrap", "lxd/localhost", "--debug"}
19:25:29 DEBUG juju.tools.
19:25:29 INFO juju.tools.
19:25:29 INFO juju.tools.
19:25:29 INFO cmd cmd.go:141 Resolved LXD host address on bridge lxdbr0: 10.138.179.1
19:25:29 INFO cmd cmd.go:141 no credentials found, checking environment
19:25:31 DEBUG juju.tools.
19:25:31 INFO juju.tools.
19:25:31 INFO juju.tools.
19:25:31 DEBUG juju.cmd.
19:25:31 DEBUG juju.cmd.
19:25:31 INFO cmd cmd.go:141 Adding contents of "/home/
19:25:31 DEBUG juju.cmd.
resource-tags: default-
19:25:32 DEBUG juju.tools.
19:25:32 INFO juju.tools.
19:25:32 INFO juju.tools.
19:25:34 INFO cmd cmd.go:129 Creating Juju controller "localhost-
19:25:34 INFO juju.cmd.
19:25:34 DEBUG juju.environs.
19:25:34 DEBUG juju.environs.
19:25:34 INFO cmd cmd.go:141 Loading image metadata
19:25:34 INFO cmd cmd.go:129 Looking for packaged Juju agent version 2.2-alpha1 for amd64
19:25:34 INFO juju.environs.
19:25:34 INFO juju.environs.tools tools.go:101 finding agent binaries in stream "devel"
19:25:34 INFO juju.environs.tools tools.go:103 reading agent binaries with major.minor version 2.2
19:25:34 INFO juju.environs.tools tools.go:111 filtering agent binaries by version: 2.2-alpha1
19:25:34 INFO juju.environs.tools tools.go:117 filtering agent binaries by architecture: amd64
19:25:34 DEBUG juju.environs.tools urls.go:109 trying datasource "keystone catalog"
19:25:35 DEBUG juju.environs.
^C19:25:35 INFO cmd cmd.go:129 Interrupt signalled: waiting for bootstrap to exit