Skip to content


Subversion checkout URL

You can clone with
Download ZIP


fresh temp dir #185

merged 1 commit into from

2 participants

hh commented

In the command line for dir2floppy.jar, the tmp dir should start out empty and NOT be '/tmp'

 vagrant basebox build win2008

Verifying the isofile 7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso is ok.
java -jar /usr/local/rvm/gems/ruby-1.9.2-p180@tv/bundler/gems/veewee-c2c1a3dfef76/lib/java/dir2floppy.jar '/tmp/d20111212-32700-1dwk8xe'
VBoxManage storagectl 'win2008' --name 'Floppy Controller' --add floppy
VBoxManage storageattach 'win2008' --storagectl 'Floppy Controller' --port 0 --device 0 --type fdd --medium '/home/chris/telogis/vagrant
Creating vm win2008 : 384M - 1 CPU - Windows2008_64

Right now it pulls everything in from '/tmp' rather than creating a fresh tmp directory and copying the correct files in. With this change it acts as expected, and windows actually installs. ;)

@jedi4ever jedi4ever merged commit c2c1a3d into jedi4ever:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 12, 2011
  1. @hh

    fresh temp dir

    hh authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/veewee/session.rb
2  lib/veewee/session.rb
@@ -533,7 +533,7 @@ def self.create_vm(boxname,force=false)
# Check for floppy
unless @definition[:floppy_files].nil?
require 'tmpdir'
- temp_dir=Dir.tmpdir
+ temp_dir=Dir.mktmpdir
@definition[:floppy_files].each do |filename|
Something went wrong with that request. Please try again.