#!/bin/bash
set -eux

modprobe nbd || true

chown -R nova:nova /var/run/nova

os-svc-enable -n nova-compute

service nova-compute restart
