Merge "lib/nova: make redirects happen in correct order"

This commit is contained in:
Jenkins
2015-09-22 09:04:22 +00:00
committed by Gerrit Code Review

View File

@@ -340,7 +340,7 @@ function configure_nova {
if [ ! -e /dev/kvm ]; then
echo "WARNING: Switching to QEMU"
LIBVIRT_TYPE=qemu
if which selinuxenabled 2>&1 > /dev/null && selinuxenabled; then
if which selinuxenabled >/dev/null 2>&1 && selinuxenabled; then
# https://bugzilla.redhat.com/show_bug.cgi?id=753589
sudo setsebool virt_use_execmem on
fi