Merge "Use nova bindir of /usr/bin on Fedora"
This commit is contained in:
commit
59756ac894
6
lib/nova
6
lib/nova
@ -441,6 +441,12 @@ function create_nova_conf() {
|
||||
iniset $NOVA_CONF DEFAULT instance_name_template "${INSTANCE_NAME_PREFIX}%08x"
|
||||
iniset $NOVA_CONF DEFAULT osapi_v3_enabled "True"
|
||||
|
||||
if is_fedora; then
|
||||
# nova defaults to /usr/local/bin, but fedora pip likes to
|
||||
# install things in /usr/bin
|
||||
iniset $NOVA_CONF DEFAULT bindir "/usr/bin"
|
||||
fi
|
||||
|
||||
if is_service_enabled n-api; then
|
||||
iniset $NOVA_CONF DEFAULT enabled_apis "$NOVA_ENABLED_APIS"
|
||||
if is_service_enabled tls-proxy; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user