Skip to content

Instantly share code, notes, and snippets.

View michjohn's full-sized avatar

OldAccount DoNotUse michjohn

View GitHub Profile
#!/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