$ vagrant box add winxp package.box Downloading box from URL: file:/tmp/package.box Extracting box...te: 71.5M/s, Estimated time remaining: 0:00:01) Successfully added box 'winxp' with provider 'virtualbox'!
うむうむ、順調である。
起動してみる
まずはinit
1 2 3 4 5
$ vagrant init winxp A `Vagrantfile` has been placed in this directory. You are now ready to `vagrant up` your first virtual environment! Please read the comments in the Vagrantfile as well as documentation on `vagrantup.com` for more information on using Vagrant.
そしてup
1 2 3 4 5 6 7 8 9 10 11 12
$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... [default] Importing base box 'winxp'... [default] Matching MAC address for NAT networking... [default] Setting the name of the VM... [default] Clearing any previously set forwarded ports... [default] Clearing any previously set network interfaces... [default] Preparing network interfaces based on configuration... [default] Forwarding ports... [default] -- 22 => 2222 (adapter 1) [default] Booting VM... [default] Waiting for machine to boot. This may take a few minutes...
そして、マシン死亡。 立ち上がるどころか、Mac Book Airが入力を受け付けなくなってもーた。swap出てたみたい。 Virtual Boxで立ち上げると普通に使えるので、理由は不明。