Always remove existing VM image before building new one

Cherry-picked from 92bf03ea51

Related: rhbz#1769525
This commit is contained in:
Alexander Todorov 2019-11-22 13:19:50 +02:00 committed by Alexander Todorov
parent f9e81532e1
commit bc541ba0d9
1 changed files with 1 additions and 0 deletions

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