#!/bin/bash

# Read variables
source ovn-scale.conf

# Clean everything up
pushd $OVN_SCALE_TOP
sudo /usr/local/bin/ansible-playbook -i $OVN_DOCKER_HOSTS ansible/site.yml -e @$OVN_DOCKER_VARS -e action=clean
popd
$OVNSUDO docker rmi ovn-scale-test-ovn
$OVNSUDO docker rmi ovn-scale-test-base
# Find the <none> image and delete it
$OVNSUDO docker rmi $(docker images | grep none | awk -F' +' '{print $3}')

#!/bin/bash

# Read variables
source ovn-scale.conf

# Clean everything up
pushd $OVN_SCALE_TOP
sudo /usr/local/bin/ansible-playbook -i $OVN_DOCKER_HOSTS ansible/site.yml -e @$OVN_DOCKER_VARS -e action=clean
popd
$OVNSUDO docker rmi ovn-scale-test-ovn
$OVNSUDO docker rmi ovn-scale-test-base
# Find the <none> image and delete it
$OVNSUDO docker rmi $($OVNSUDO docker images | grep none | awk -F' +' '{print $3}')

Fix one instance of missing $OVNSUDO
Fix one instance of missing $OVNSUDO

Signed-off-by: Kyle Mestery <9cfbda34e625c7b0454bcb19a48d07c46f9097d2@mestery.com>
