Ryan Hallisey eaf096b261 Libvirt is moving around the wrong config file
Libvirt uses libvirtd.conf not libvirt.conf. Currently,
the config file get copied to '/etc/libvirt/libvirt.conf' and
libvirt creates its own libvirtd.conf and ignores the
configured libvirt.

Change-Id: I7a55b92c33ade72b7ac8ba028c67313479ad8343
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1486100
2015-08-19 07:24:25 -04:00

11 lines
212 B
Bash
Executable File

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