kolla-ansible/docker/nova/nova-compute/extend_start.sh
Jeffrey Zhang ad1461f46d Fix the qemu has nova permission in nova instances folder
Fix the permission issue on different distro
* In CentOS, add the qemu to nova group in CentOS
* In Ubuntu, add the nova to libvirtd group

Co-Authored-By: Steven Dake <stdake@cisco.com>
Change-Id: I1f4f9ce29abf0d788965fe94d8918b10a7169a75
Closes-Bug: #1568012
2016-04-08 15:53:28 -04:00

9 lines
246 B
Bash

#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
mkdir -p /var/lib/nova/instances
exit 0
fi