Always remove existing VM image before building new one

Cherry-picked from 92bf03ea51

Related: rhbz#1770193
This commit is contained in:
Alexander Todorov 2019-11-22 13:19:50 +02:00 committed by Alexander Todorov
parent c020cec968
commit 553498d543

View File

@ -110,6 +110,7 @@ ci: check test
$(VM_IMAGE): TAG=HEAD
$(VM_IMAGE): srpm bots
rm -f $(VM_IMAGE) $(VM_IMAGE).qcow2
srpm=$(shell rpm --qf '%{Name}-%{Version}-%{Release}.src.rpm\n' -q --specfile lorax-composer.spec | head -n1) ; \
bots/image-customize -v \
--resize 20G \