Ryan Hallisey e31edb4b15 Allow libvirt to be configured externally
config-enternal.sh for libvirt does not look for any
external config.

Change-Id: I5ab4ff93166a9d96a3c3a3073c47faf86493efae
Closes-Bug: 1475760
2015-07-17 15:18:58 -04:00

11 lines
210 B
Bash
Executable File

#!/bin/bash
SOURCE="/opt/kolla/libvirt/libvirt.conf"
TARGET="/etc/libvirt/libvirt.conf"
OWNER="libvirt"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi