# Download Windows 8 English, 64-bit (x64) # http://msdn.microsoft.com/de-de/evalcenter/jj554510.aspx?wt.mc_id=MEC_132_1_4 # 64bit # http://care.dlservice.microsoft.com/dl/download/5/3/C/53C31ED0-886C-4F81-9A38-F58CE4CE71E8/9200.16384.WIN8_RTM.120725-1247_X64FRE_ENTERPRISE_EVAL_EN-US-HRM_CENA_X64FREE_EN-US_DV5.ISO # Win 8 requires at least 20gig hard drive to install... Veewee::Session.declare({ :os_type_id => 'Windows8_64', :iso_file => "9600.16384.WINBLUE_RTM.130821-1623_X64FRE_ENTERPRISE_EVAL_EN-US-IRM_CENA_X64FREE_EN-US_DV5.ISO", :iso_md5 => "5e4ecb86fd8619641f1d58f96e8561ec", :iso_src => "http://care.dlservice.microsoft.com/dl/download/B/9/9/B999286E-0A47-406D-8B3D-5B5AD7373A4A/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_ENTERPRISE_EVAL_EN-US-IRM_CENA_X64FREE_EN-US_DV5.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 50 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