Merge "Make libvirt function on CentOS"

This commit is contained in:
Jenkins 2015-09-29 10:13:03 +00:00 committed by Gerrit Code Review
commit a9eee17159
2 changed files with 9 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"source": "/opt/kolla/config_files/libvirtd.conf",
"dest": "/etc/libvirt/libvirtd.conf",
"owner": "root",
"perm": "0600"
"perm": "0644"
}{% if enable_ceph | bool %},
{
"source": "/opt/kolla/config_files/secrets",

View File

@ -4,4 +4,12 @@ set -o errexit
# Loading common functions.
source /opt/kolla/kolla-common.sh
# TODO(SamYaple): Tweak libvirt.conf rather than change permissions.
# Fix permissions for libvirt
# Do not remove unless CentOS has been validated
if [[ -c /dev/kvm ]]; then
chmod 660 /dev/kvm
chown root:kvm /dev/kvm
fi
exec $CMD