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
I'd like to change this anti-symmetry by doing one (and only one) of the following:
- Change the
import script to TARGET=mktemp -d --tmpdir=${EXPORT_DIR}``
- Set
IMPORT_DIR in common.sh and use that in the import script.
Thoughts?