Merge "Remove TODO in libvirt script"

This commit is contained in:
Zuul 2020-08-04 12:38:05 +00:00 committed by Gerrit Code Review
commit e18246eb98

View File

@ -1,13 +1,5 @@
#!/bin/bash
# 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:qemu /dev/kvm
fi
# Mount xenfs for libxl to work
if [[ $(lsmod | grep xenfs) ]]; then
mount -t xenfs xenfs /proc/xen