mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-05-29 16:29:33 +00:00
build.sh: Always run Packer twice
First invocation will most likely fail, but I can't see other major differences between working (travis-integration branch) and not working (main branch) Virtualboxes.
This commit is contained in:
7
build.sh
7
build.sh
@@ -16,10 +16,11 @@ fi
|
||||
|
||||
echo "--- Using Packer version $(${PACKER} --version)"
|
||||
|
||||
if [ ! -f output-virtualbox-iso/clever-devel.ova ]; then
|
||||
# FIXME: This will fail, but might help virtualbox in travis?
|
||||
#if [ ! -f output-virtualbox-iso/clever-devel.ova ]; then
|
||||
echo "--- Building base image"
|
||||
${PACKER} build -only=virtualbox-iso base_vm.json
|
||||
fi
|
||||
${PACKER} build -only=virtualbox-iso base_vm.json || true
|
||||
#fi
|
||||
|
||||
echo "--- Building extended image"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user