Merge "Remove TODO in libvirt script"
This commit is contained in:
commit
e18246eb98
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user