| ... | ... |
@@ -1396,6 +1396,10 @@ if is_service_enabled n-cpu; then |
| 1396 | 1396 |
if [ ! -e /dev/kvm ]; then |
| 1397 | 1397 |
echo "WARNING: Switching to QEMU" |
| 1398 | 1398 |
LIBVIRT_TYPE=qemu |
| 1399 |
+ if which selinuxenabled 2>&1 > /dev/null && selinuxenabled; then |
|
| 1400 |
+ # https://bugzilla.redhat.com/show_bug.cgi?id=753589 |
|
| 1401 |
+ sudo setsebool virt_use_execmem on |
|
| 1402 |
+ fi |
|
| 1399 | 1403 |
fi |
| 1400 | 1404 |
fi |
| 1401 | 1405 |
|