diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..1f54f9f6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,8 @@ +## v1.2 (December 18, 2013) + +* Add support for Windows 2012 and Windows 2012 R2 +* Switch all configurations to use Microsoft trial images that are publicly accessible so that you do not need MSDN or TechNet to use this repo + +## v1.1 (December 17, 2013) + +* Initial release, including working Windows 2008 R2 configuration \ No newline at end of file diff --git a/README.md b/README.md index 15b9c33d..b13b47cd 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,10 @@ Doing so will give you hours back in your day, which is a good thing. ### Getting Started -This repository assumes that you have access to [MSDN](http://msdn.microsoft.com) and can download the ISO images Microsoft makes available there. +Currently, this repo leverages trial versions of Windows 2008 R2 / 2012 / 2012 R2. -Currently, this repo leverages trial versions of Windows 2008 R2 / 2012 / 2012 R2. If you would like to leverage RTM (non-trial) versions, you should update the relevent `.json` file, setting `iso_url` to `"./iso/.iso"` and `iso_checksum` to `` after following these instructions: + +Alternatively, if you have access to [MSDN](http://msdn.microsoft.com) or TechNet, you can download the ISO images Microsoft makes available there and place them in the `iso` directory. If you do so, you should update the relevent `.json` file, setting `iso_url` to `"./iso/.iso"` and `iso_checksum` to `` after following these instructions: 1. Download the Windows Server 2008 R2 with Service Pack 1 (x64) - DVD (English) ISO (`en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso`) 2. Verify that `en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso` has an MD5 hash of `8dcde01d0da526100869e2457aafb7ca` (Microsoft lists a SHA1 hash of `d3fd7bf85ee1d5bdd72de5b2c69a7b470733cd0a`, which is equivalent) diff --git a/answer_files/2012/Autounattend.xml b/answer_files/2012/Autounattend.xml index 3e7f1907..7e28e256 100644 --- a/answer_files/2012/Autounattend.xml +++ b/answer_files/2012/Autounattend.xml @@ -32,8 +32,7 @@ Vagrant Administrator Vagrant Inc. - - XC9B7-NBPP2-83J2H-RHMBY-92BT4 + XC9B7-NBPP2-83J2H-RHMBY-92BT4 Never diff --git a/answer_files/2012_r2/Autounattend.xml b/answer_files/2012_r2/Autounattend.xml index 561d8bca..f765809e 100644 --- a/answer_files/2012_r2/Autounattend.xml +++ b/answer_files/2012_r2/Autounattend.xml @@ -1,112 +1,109 @@ - + + + en-US + + en-US + en-US + en-US + en-US + en-US + + Primary 1 + 350 + + + 2 Primary - 60000 + true - false + true NTFS - C + 1 1 - + + + NTFS + + C + 2 + 2 0 true - OnError - - true - Vagrant Administrator - Vagrant Inc. - - - W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9 - Never - - - - 0 - 1 - - OnError - false - /IMAGE/NAME - Windows Server 2012 R2 SERVERDATACENTER + /IMAGE/NAME + Windows Server 2012 R2 SERVERSTANDARD + + 0 + 2 + - - - - en-US - - en-US - en-US - en-US - en-US - en-US + + + D2N9P-3P6X9-2R39C-7RTCD-MDVJX + OnError + + true + Vagrant + Vagrant + - - - false + + + + false + + vagrant-2012-r2 + Pacific Standard Time + + + + true + + + false + false + + + true + + + true - - - vagrant - true</PlainText> - </AdministratorPassword> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Password> - <Value>vagrant</Value> - <PlainText>true</PlainText> - </Password> - <Description>Vagrant User</Description> - <DisplayName>vagrant</DisplayName> - <Group>administrators</Group> - <Name>vagrant</Name> - </LocalAccount> - </LocalAccounts> - </UserAccounts> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>1</ProtectYourPC> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <SkipUserOOBE>true</SkipUserOOBE> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - </OOBE> <AutoLogon> <Password> <Value>vagrant</Value> <PlainText>true</PlainText> </Password> - <Username>vagrant</Username> <Enabled>true</Enabled> + <Username>vagrant</Username> + <LogonCount>1</LogonCount> </AutoLogon> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> @@ -242,33 +239,36 @@ <RequiresUserInput>true</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands> - <ShowWindowsLive>false</ShowWindowsLive> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <OEMInformation> - <HelpCustomized>false</HelpCustomized> - </OEMInformation> - <!-- Rename computer here. --> - <ComputerName>vagrant-2012</ComputerName> - <TimeZone>Pacific Standard Time</TimeZone> + <OOBE> + <HideEULAPage>true</HideEULAPage> + <HideLocalAccountScreen>true</HideLocalAccountScreen> + <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> + <HideOnlineAccountScreens>true</HideOnlineAccountScreens> + <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> + <NetworkLocation>Home</NetworkLocation> + <ProtectYourPC>1</ProtectYourPC> + </OOBE> + <UserAccounts> + <AdministratorPassword> + <Value>vagrant</Value> + <PlainText>true</PlainText> + </AdministratorPassword> + <LocalAccounts> + <LocalAccount wcm:action="add"> + <Group>administrators</Group> + <DisplayName>Vagrant</DisplayName> + <Name>vagrant</Name> + <Description>Vagrant User</Description> + </LocalAccount> + </LocalAccounts> + </UserAccounts> <RegisteredOwner/> </component> - <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> - </component> - <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-IE-ESC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <!-- Disable IE ESC. --> - <IEHardenAdmin>false</IEHardenAdmin> - <IEHardenUser>false</IEHardenUser> - </component> - <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon> - </component> - <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> + </settings> + <settings pass="offlineServicing"> + <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> + <EnableLUA>false</EnableLUA> </component> </settings> - <cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="catalog:d:/sources/install_windows server 2008 r2 serverdatacenter.clg"/> + <cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:c:/wim/install.wim#Windows Server 2012 R2 SERVERSTANDARD"/> </unattend> diff --git a/windows_2012_r2.json b/windows_2012_r2.json index 72c94403..0ba2a277 100644 --- a/windows_2012_r2.json +++ b/windows_2012_r2.json @@ -23,7 +23,8 @@ "RemoteDisplay.vnc.enabled": "false", "RemoteDisplay.vnc.port": "5900", "memsize": "2048", - "numvcpus": "2" + "numvcpus": "2", + "scsi0.virtualDev": "lsisas1068" } }, { "type": "virtualbox",