Skip to content

Instantly share code, notes, and snippets.

@SimonRichardson
Created May 22, 2018 15:45
Show Gist options
  • Save SimonRichardson/74fc61ad6dd491457c6aebc9bce0ab94 to your computer and use it in GitHub Desktop.
Save SimonRichardson/74fc61ad6dd491457c6aebc9bce0ab94 to your computer and use it in GitHub Desktop.
lxd reinstall - assumes bridge exits

If the lxd/lxc knows about the bridge (i.e. it's managed) then run the following:

lxc network delete lxdbr0

If it's no longer managed by lxd/lxc, you need to run the following commands:

ip link set lxdbr0 down
ip link delete lxdbr0 type bridge

You may need to kill the LXD process listening on port 8443 (it requires sudo as lxd runs as root)

sudo lsof -i :8443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment