# Download Windows 8 English, 32-bit (x86) # http://msdn.microsoft.com/de-de/evalcenter/jj554510.aspx?wt.mc_id=MEC_132_1_4 # 32bit # http://care.dlservice.microsoft.com/dl/download/5/3/C/53C31ED0-886C-4F81-9A38-F58CE4CE71E8/9200.16384.WIN8_RTM.120725-1247_X86FRE_ENTERPRISE_EVAL_EN-US-HRM_CENA_X86FREE_EN-US_DV5.ISO # Win2008 requires at least 10gig hard drive to install... Veewee::Session.declare({ :os_type_id => 'Windows8', :iso_file => "9200.16384.WIN8_RTM.120725-1247_X86FRE_ENTERPRISE_EVAL_EN-US-HRM_CENA_X86FREE_EN-US_DV5.ISO", :iso_md5 => "e0ba8ad5c893dd3f5b83ea77fa4946e7", :iso_src => "http://iso.esd.microsoft.com/WRPDL/D29D6C5B1D8AF956B5DA9DF738CFD92DFD4F6C8FB/Windows8-ReleasePreview-64bit-English.iso", :iso_download_timeout => "1000", :cpu_count => '1', :memory_size=> '1024', :disk_size => '20280', :disk_format => 'VDI', :hostiocache => 'off', :floppy_files => [ "Autounattend.xml", # automate install and setup winrm "install-winrm.bat", "install-cygwin-sshd.bat", "cygwin-setup.exe", "oracle-cert.cer" ], :boot_wait => "120", # after 40 seconds, hit these keys to not enter a product key and fully automate the install # if your machine is slower it may take more time :boot_cmd_sequence => [ '' ], :ssh_login_timeout => "10000", # Actively attempt to ssh in for 10000 seconds :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "", :ssh_host_port => "7233", :ssh_guest_port => "22", # And run postinstall.sh for up to 10000 seconds :postinstall_timeout => "10000", :postinstall_files => ["postinstall.sh"], # No sudo on windows :sudo_cmd => "sh '%f'", # Shutdown is different as well :shutdown_cmd => "shutdown -P now", }) # To edit the Autounattend.xml and validate it: # Download Automated Installation Kit (AIK) for Windows Vista SP1 and Windows Server 2008: # http://www.microsoft.com/download/en/details.aspx?id=9085 # Resulting in 6001.18000.080118-1840-kb3aikl_en.iso # md5sum b83fad8fd28e637b82cb4a6bef7d6920 6001.18000.080118-1840-kb3aikl_en.iso # AIK also includes dism, which will allow you to choose a specific version: # If you want to install a different version, edit Autoattended.xml and replace the /IMAGE/NAME value with # one of the names listed in the Longhorn install.wim on the install .iso # # # /IMAGE/NAME # Windows Longhorn SERVERSTANDARD ### This comes from the Name: field below # # # PS C:\Users\Administrator> Dism /Get-WIMInfo /WimFile:d:\sources\install.wim # Deployment Image Servicing and Management tool # Version: 6.1.7600.16385 # Details for image : d:\sources\install.wim # Index : 1 # Name : Windows Longhorn SERVERSTANDARD # Description : Windows Longhorn SERVERSTANDARD # Size : 8,784,297,519 bytes # Index : 2 # Name : Windows Longhorn SERVERENTERPRISE # Description : Windows Longhorn SERVERENTERPRISE # Size : 8,792,036,862 bytes # Index : 3 # Name : Windows Longhorn SERVERDATACENTER # Description : Windows Longhorn SERVERDATACENTER # Size : 8,792,568,645 bytes # Index : 4 # Name : Windows Longhorn SERVERSTANDARDCORE # Description : Windows Longhorn SERVERSTANDARDCORE # Size : 2,512,939,954 bytes # Index : 5 # Name : Windows Longhorn SERVERENTERPRISECORE # Description : Windows Longhorn SERVERENTERPRISECORE # Size : 2,522,686,340 bytes # Index : 6 # Name : Windows Longhorn SERVERDATACENTERCORE # Description : Windows Longhorn SERVERDATACENTERCORE # Size : 2,522,615,418 bytes