Configure lxd a bit harder

Signed-off-by: Chuck Short <chuck.short@canonical.com>
This commit is contained in:
Chuck Short 2015-02-18 08:40:02 -05:00
parent dcadc05e6c
commit c3b6a25f68
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ function configure_lxd {
apt_get update
sudo apt-add-repository -y ppa:ubuntu-lxc/lxd-daily
apt_get update
install_package lxd lxc-dev
setfacl -m nova:rx /var/lib/lxd/lxd
if [[ ! -d /var/lib/lxd ]]; then
sudo mkdir -p /var/lib/lxd/