Skip to content

export uses $EXPORT_DIR for its temp space, but import uses /tmp #22

@jordane

Description

@jordane

Most systems that have a separate /tmp mounted don't have the disk space in order to properly unpack and import an image in /tmp. The export script doesn't have this because it calls

TARGET=`mktemp -d --tmpdir=${EXPORT_DIR}`

while the import script calls

TARGET=`mktemp -d`

I'd like to change this anti-symmetry by doing one (and only one) of the following:

  1. Change the import script to TARGET=mktemp -d --tmpdir=${EXPORT_DIR}``
  2. Set IMPORT_DIR in common.sh and use that in the import script.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions