Skip to content
Snippets Groups Projects
extend_start.sh 276 B
Newer Older
  • Learn to ignore specific revisions
  • #!/bin/bash
    set -o errexit
    
    # 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
        su -s /bin/sh -c "cinder-manage db sync" cinder
        exit 0
    fi