Merge "Make libvirt function on CentOS"
This commit is contained in:
commit
a9eee17159
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user