{"id":1178,"date":"2013-11-04T20:12:04","date_gmt":"2013-11-04T17:12:04","guid":{"rendered":"http:\/\/www.cloudbase.it\/?p=1178"},"modified":"2013-12-10T14:18:51","modified_gmt":"2013-12-10T11:18:51","slug":"create-windows-openstack-images","status":"publish","type":"post","link":"https:\/\/cloudbase.it\/create-windows-openstack-images\/","title":{"rendered":"How to create Windows OpenStack images"},"content":{"rendered":"
We get regularly a lot of requests about how to generate Windows OpenStack images, especially for KVM, where the proper VirtIO drivers need to be installed.<\/p>\n
This article provides all the step required to build one, as we did for the official OpenStack Windows Server 2012 R2 Evaluation images<\/a><\/p>\n All the scripts are publicly available on Github<\/a>.<\/p>\n For people familiar with Linux unattended deployment solutions like kickstart or preseed files, Windows has a roughly similar model based on XML files<\/a>\u00a0which can be automatically generated with a freely available tool currently called Windows Assessment and Deployment Kit<\/a> (ADK in short). The ADK is not necessary if you’re fine with tweaking XML files manually as we usually do.<\/p>\n Kickstart and Preseed files in Linux provide a “post” script where you can do some more advanced provisioning by running your own scripts. That’s also what we do here. The difference is that we split the work in 3 specific areas:<\/p>\n To make things simpler, during each of the above steps we download and execute a Powershell script from the Github repository instead of adding every single action that we want to run into the XML file. This way we have a lot more flexibility and troubleshooting issues while writing those scripts becomes a cakewalk, especially using virtual machine snapshots.<\/p>\n Here are the actions that are performed in detail:<\/p>\n Important note:<\/b> The Fedora VirtIO drivers version 0.1-65 generate a blue screen when you attach a volume. Use the stable version<\/a> instead.<\/li>\n\n
Specialize<\/h3>\n
\n
FirstLogon<\/h3>\n
\n
Logon<\/h3>\n