This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export OCTAVIA_DIR=/opt/stack/octavia | |
export DIB_RELEASE=trusty | |
# Out with the old | |
glance image-delete $(glance image-list | awk '/ amphora-x64-haproxy / {print $2}') | |
rm $OCTAVIA_DIR/diskimage-create/amphora-x64-haproxy.qcow2 | |
rm -rf $OCTAVIA_DIR/diskimage-create/amphora-x64-haproxy.d |