diff --git a/lib/nova b/lib/nova index 50c0d4708e..8f11e0f311 100644 --- a/lib/nova +++ b/lib/nova @@ -823,7 +823,7 @@ function start_nova_compute { 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" = 'docker' ]]; then + elif [[ "$VIRT_DRIVER" = 'docker' || "$VIRT_DRIVER" = 'zun' ]]; then run_process n-cpu "$NOVA_BIN_DIR/nova-compute --config-file $compute_cell_conf" $DOCKER_GROUP elif [[ "$VIRT_DRIVER" = 'fake' ]]; then local i diff --git a/stackrc b/stackrc index 7ce6c513b0..19f5b53372 100644 --- a/stackrc +++ b/stackrc @@ -573,7 +573,7 @@ case "$VIRT_DRIVER" in lxd) LXD_GROUP=${LXD_GROUP:-"lxd"} ;; - docker) + docker|zun) DOCKER_GROUP=${DOCKER_GROUP:-"docker"} ;; fake)