cio@ubuntu:~$ sudo lxd init
Name of the storage backend to use (dir or zfs): dir
Would you like LXD to be available over the network (yes/no)? no
Do you want to configure the LXD bridge (yes/no)? yes
Warning: Stopping lxd.service, but it can still be activated by:
lxd.socket
LXD has been successfully configured.
cio@ubuntu:~$ lxc profile show default
Generating a client certificate. This may take a minute...
name: default
config:
environment.http_proxy: http://[fe80::1%eth0]:13128
user.network_mode: link-local
description: Default LXD profile
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
cio@ubuntu:~$ grep BRIDGE /etc/default/lxd-bridge
USE_LXD_BRIDGE="false"
# This is still used even if USE_LXD_BRIDGE is set to false
LXD_BRIDGE="bridge0"
cio@ubuntu:~$ apt-cache show lxd
Package: lxd
Priority: optional
Section: admin
Installed-Size: 17979
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 2.0.0~rc9-0ubuntu3
cio@ubuntu:~$ ifconfig -a
bridge0 Link encap:Ethernet HWaddr 52:54:00:4e:9d:18
inet addr:10.1.0.74 Bcast:10.1.0.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe4e:9d18/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10757 errors:0 dropped:0 overruns:0 frame:0
TX packets:8180 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24681284 (24.6 MB) TX bytes:615235 (615.2 KB)
ens3 Link encap:Ethernet HWaddr 52:54:00:4e:9d:18
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11024 errors:0 dropped:1 overruns:0 frame:0
TX packets:8179 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24850662 (24.8 MB) TX bytes:615129 (615.1 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:142 errors:0 dropped:0 overruns:0 frame:0
TX packets:142 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:19285 (19.2 KB) TX bytes:19285 (19.2 KB)