This allows separate bsdinstall workflows to run simultaneously without stomping on each other, by specifying different TMPDIR and BSDINSTALL_CHROOT paths for each installation. This is beneficial when using bsdinstall scripts to prepare several different VM volumes, for example.
If TMPDIR is unset, it defaults to /tmp, which preserves the existing behavior.
Sponsored by: iXsystems, Inc.