hashicorp / packer-plugin-virtualbox

Packer plugin for VritualBox Builder
https://www.packer.io/docs/builders/virtualbox
Mozilla Public License 2.0
22 stars 36 forks source link

Export Image is to small 74KB should be ca 400MB #12

Open ghost opened 3 years ago

ghost commented 3 years ago

This issue was originally opened by @feckert as hashicorp/packer#7965. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


Environment:

Development host: I am building opnsense version 19.07 on my host system with packer. Every think works as expected. Build is successful and the exported image could be load with virtualbox.

Export log on the Development host build: https://gist.github.com/feckert/982801ea36cd73dd149c8015ed072b6c

Gitlab CI/CD: With gitlab CI/CD I am building my releases. The build is also successful, but the exported image is too small ! Its only 74KB big. If I open this with the vi editor I see only the ova content. NO VMDK.

I am using this build system for debian appliances as well and every thing works as expected. The images are OK. So my CI/CD works. Only for the opnsense (BSD) it does not!

The following line does appear on my devleopment host but not on the Gitlab CI/CD system. I do not know what the output means!

2019/08/09 14:37:35 Builds completed. Waiting on interrupt barrier...

That is the only difference what I can see

Export log on the Gitlab CI/CD build on a gitlab-runner: https://gist.github.com/feckert/09cc0682fa5ecdfbe62e96e45a40fe18