Always remove existing VM image before building new one

This commit is contained in:
Alexander Todorov 2019-11-22 13:19:50 +02:00
parent 90b340f828
commit 92bf03ea51

View File

@ -142,6 +142,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.spec | head -n1) ; \
bots/image-customize -v \
--resize 20G \