Make box creation not cross filesystems.

This will cause issues on modern linux which uses a tmpfs-backed tmpdir.
This commit is contained in:
Bryon Roche 2013-01-07 16:19:17 -08:00
parent 09126b20d3
commit b5c75b89a9
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ module Vagrant
# Create a temporary directory since we're not sure at this point if
# the box we're unpackaging already exists (if no provider was given)
Dir.mktmpdir("vagrant-") do |temp_dir|
Dir.mktmpdir(["vagrant-tmp-", provider.to_s]) do |temp_dir|
temp_dir = Pathname.new(temp_dir)
# Extract the box into a temporary directory.