charm-cinder/hooks/storage.bootstrap
Alex Kavanagh 7a98ea3daa Add juju storage support to the charm
This feature adds juju storage support to the charm.  This is largely to
deal with the related bugs, but also makes the charm more useful.

Release-Note: https://review.opendev.org/#/c/718410/

Related-Bug: #1801349
Change-Id: I056967f4e83f4c99a4aac1090056dd4f320c03f5
2020-04-08 14:15:02 +01:00

9 lines
138 B
Bash
Executable File

#!/bin/sh
if ! dpkg -s cinder-common > /dev/null 2>&1; then
juju-log "cinder not yet installed."
exit 0
fi
./hooks/storage.real