VagrantでWindows7の環境を構築する

自宅の環境にWindows7の環境がないので、こちらの公式サイトにzipファイルが配信されているのでダウンロードして起動してみます。
Windows7のvagrantファイルをダウンロード
こちらの公式サイトからWindows7のVagrantを選択して、ダウンロードします。
boxをインポートしてinit
解凍後、「IE8 – Win7.box」を作業用フォルダに配置して以下のコマンドを実行します。
vagrant box add Win7IE8 "IE8 - Win7.box"
Vagrantファイルの設定
Vagrantファイルを以下のように設定します。
Vagrant.configure("2") do |config|
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = "2048"
end
config.vm.guest = "windows"
config.vm.box = "Win7IE8"
config.ssh.username = "IEUser"
config.ssh.password = "Passw0rd!"
config.ssh.insert_key = false
config.ssh.shell = 'sh -l'
config.vm.synced_folder ".", "c:\\vagrant"
end
vagrant upで起動するとWindows7が起動する
