# Download Windows 8 Developer Preview with developer tools English, 64-bit (x64) # http://msdn.microsoft.com/en-us/windows/apps/br229516?ppud=4 # 64bit # http://wdp.dlws.microsoft.com/WDPDL/9B8DFDFF736C5B1DBF956B89D8A9D4FD925DACD2/WindowsDeveloperPreview-64bit-English-Developer.iso # md5sum WindowsDeveloperPreview-64bit-English-Developer.iso # sha1hash 6FE9352FB59F6D0789AF35D1001BD4E4E81E42AF # md5sum # Win2008 requires at least 10gig hard drive to install... Veewee::Session.declare({ :os_type_id => 'Windows8_64', :iso_file => "Windows8-ReleasePreview-64bit-English.iso", :iso_md5 => "5901db43f3b3fa155d65f523f76d5d88", :iso_src => "http://iso.esd.microsoft.com/WRPDL/D29D6C5B1D8AF956B5DA9DF738CFD92DFD4F6C8FB/Windows8-ReleasePreview-64bit-English.iso", :iso_download_timeout => "1000", :cpu_count => '1', :memory_size=> '384', :disk_size => '20280', :disk_format => 'VDI', :hostiocache => 'off', :floppy_files => ["Autounattend.xml", "cygwin-setup.exe", "install-cygwin-sshd.bat", "install-winrm.bat", "oracle-cert.cer"], :floppy_files => [ "Autounattend.xml", # automate install and setup winrm "install-winrm.bat", "install-cygwin-sshd.bat", "cygwin-setup.exe", "oracle-cert.cer" ], :boot_wait => "50", # 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