summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-03-21 21:46:14 +0000
committerGerrit Code Review <review@openstack.org>2016-03-21 21:46:14 +0000
commit7ce11fb25f6b1e55bc479691aad45867b98044b9 (patch)
tree4fab245341eb054901a5afa4c3030f0c68df4c88
parent649e45eaef6699e31f713a2c9001ffbe06e604d2 (diff)
parenta77b24219c2d808003f7bf95468e442e12691b4c (diff)
downloadironic-7ce11fb25f6b1e55bc479691aad45867b98044b9.tar.gz
Merge "Don't depend on existing file perm for qemu hook"
-rw-r--r--devstack/lib/ironic1
1 files changed, 1 insertions, 0 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index 9417648bf..beb651610 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -601,6 +601,7 @@ function setup_qemu_log_hook {
# Copy the qemu hook to the right directory
sudo cp $IRONIC_DEVSTACK_FILES_DIR/hooks/qemu $IRONIC_LIBVIRT_HOOKS_PATH/qemu
+ sudo chmod -v +x $IRONIC_LIBVIRT_HOOKS_PATH/qemu
sudo sed -e "
s|%LOG_DIR%|$IRONIC_VM_LOG_DIR|g;
" -i $IRONIC_LIBVIRT_HOOKS_PATH/qemu