blob: fdae01191fb7721f3a333e10e2e98c8e04505ce3 [file] [log] [blame]
Steve Baker122ab702014-05-05 16:06:17 +12001# dib.sh - Devstack extras script to install diskimage-builder
2
3if is_service_enabled dib; then
4 if [[ "$1" == "source" ]]; then
5 # Initial source
6 source $TOP_DIR/lib/dib
7 elif [[ "$1" == "stack" && "$2" == "install" ]]; then
8 echo_summary "Installing diskimage-builder"
9 install_dib
10 elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
11 # no-op
12 :
13 elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
14 # no-op
15 :
16 fi
17
18 if [[ "$1" == "unstack" ]]; then
19 # no-op
20 :
21 fi
22
23 if [[ "$1" == "clean" ]]; then
24 # no-op
25 :
26 fi
27fi