Merge pull request #1300 from kainz/master

Avoid cross device activity for box creation by creating tmp dir in provider dir
This commit is contained in:
Mitchell Hashimoto 2013-01-30 21:47:40 -08:00
commit c164a5ca81
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,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.