Created
December 18, 2015 23:30
-
-
Save badsyntax/cabbf8c6db5a9a34bf9a to your computer and use it in GitHub Desktop.
Install and Enable the LXD REST API in Ubuntu 14.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install -y software-properties-common | |
| sudo add-apt-repository -y ppa:ubuntu-lxc/lxd-stable | |
| sudo apt-get update | |
| sudo apt-get install -y lxd | |
| sudo newgrp lxd | |
| sudo lxc config set core.https_address 127.0.0.1 | |
| sudo lxc config trust add $HOME/.config/lxc/client.crt | |
| export LXD_URI=https://127.0.0.1:8443/ | |
| export LXD_CERT=$HOME/.config/lxc/client.crt | |
| export LXD_KEY=$HOME/.config/lxc/client.key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment