Skip to content

Instantly share code, notes, and snippets.

@bkram
Last active March 23, 2018 08:52
Show Gist options
  • Save bkram/9d01f1b11335779089586847d082889c to your computer and use it in GitHub Desktop.
Save bkram/9d01f1b11335779089586847d082889c to your computer and use it in GitHub Desktop.
# lxd on debian with snap
# get zfs support
apt install zfsutils-linux
# install snap
apt install snapd -y
# install lxd from snap
snap install lxd
#setup lxd use zfs backend
lxd init
# if you created a unwanted bridge.
#lxc network detach-profile lxdbr0 default eth0
#lxc network delete lxdbr0
# use existing br0 as bridge
lxc network attach-profile br0 default eth0
# launch ubuntu
lxc launch ubuntu:16.04 ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment