diff --git a/lib/nova b/lib/nova index 67a80b9b16..8fe4c29d86 100644 --- a/lib/nova +++ b/lib/nova @@ -825,6 +825,8 @@ function start_nova_compute { # ``sg`` is used in run_process to execute nova-compute as a member of the # **$LIBVIRT_GROUP** group. run_process n-cpu "$NOVA_BIN_DIR/nova-compute --config-file $compute_cell_conf" $LIBVIRT_GROUP + elif [[ "$VIRT_DRIVER" = 'lxd' ]]; then + run_process n-cpu "$NOVA_BIN_DIR/nova-compute --config-file $compute_cell_conf" $LXD_GROUP elif [[ "$VIRT_DRIVER" = 'fake' ]]; then local i for i in `seq 1 $NUMBER_FAKE_NOVA_COMPUTE`; do diff --git a/stackrc b/stackrc index acb7d3f650..b5d1bc0b6c 100644 --- a/stackrc +++ b/stackrc @@ -586,6 +586,9 @@ case "$VIRT_DRIVER" in LIBVIRT_GROUP=libvirtd fi ;; + lxd) + LXD_GROUP=${LXD_GROUP:-"lxd"} + ;; fake) NUMBER_FAKE_NOVA_COMPUTE=${NUMBER_FAKE_NOVA_COMPUTE:-1} ;;