tripleo-image-elements/elements/nova-compute/os-refresh-config/post-configure.d/80-nova-compute
James Slagle a190f0ee9b Remove unneeded chown of /var/run/nova
Both upstart and systemd daemons are defined to create their own run
directories, and set the correct owners (see os-svc-daemon), so this
line can be removed. It causes an error for the package install b/c the
directory does not yet exist since the service has not been enabled and
started yet.

Change-Id: I598fe6d6ef55c997dcd5c9acfcc85ddac6826228
2014-02-28 07:06:58 -05:00

9 lines
106 B
Bash
Executable File

#!/bin/bash
set -eux
modprobe nbd || true
os-svc-enable -n nova-compute
os-svc-restart -n nova-compute