Skip to content

Use user cache folder for Packer temporary files #45

@Yorinh

Description

@Yorinh

Hello !
I've a weird issue when i build a machine :

    virtualbox-iso (vagrant): Copying from artifact: builds/packer-virtualbox-iso-1488985646-disk1.vmdk
Build 'virtualbox-iso' errored: 1 error(s) occurred:

* Post-processor failed: write /tmp/packer720373497/packer-virtualbox-iso-1488985646-disk1.vmdk: no space left on device

==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: 1 error(s) occurred:

* Post-processor failed: write /tmp/packer720373497/packer-virtualbox-iso-1488985646-disk1.vmdk: no space left on device

==> Builds finished but no artifacts were created.

----------------------------------
packer completed with return code 1
Packer failed. Build failed. Exiting...

I tried to change my TMPDIR / PACKER_CACHE_DIR / PACKER_TMP_DIR var but no luck...

I checked my disks ofc, still have space:

/dev/sdb2          117G    9,0G  102G   9% /
/dev/sda1          458G    109G  326G  26% /home

I try to run malboxes on ArchLinux without the package from AUR. (Manual install from github)

Thx for the project !

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions