Correct ephemeral image name in cleanup script

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I557c4dc8dfd25d2eee29b9dff1f7fe28e32229e7
This commit is contained in:
Sreejith Punnapuzha 2021-03-01 11:04:57 -06:00
parent 44f48999e7
commit 798bf4927c

View File

@ -22,7 +22,7 @@ sudo kill -9 $(lsof -t -i:8000 -i:8099)
vm_types='ephemeral|target|worker' vm_types='ephemeral|target|worker'
vol_list=$(sudo virsh vol-list --pool airship | grep -E $vm_types | awk '{print $1}') vol_list=$(sudo virsh vol-list --pool airship | grep -E $vm_types | awk '{print $1}')
iso_list=$(sudo virsh vol-list --pool default | awk '{print $1}'| grep -i 'ubuntu.*\.img$') iso_list=$(sudo virsh vol-list --pool default | awk '{print $1}'| grep -i 'ephemeral.*\.img$')
vm_list=$(sudo virsh list --all | grep -E $vm_types | awk '{print $2}') vm_list=$(sudo virsh list --all | grep -E $vm_types | awk '{print $2}')
net_list=$(sudo virsh net-list --all | awk '{print $1}'| grep -i air) net_list=$(sudo virsh net-list --all | awk '{print $1}'| grep -i air)