White Paper
Creating Windows Virtual Machine images for use with ESXi compute clusters in HP CloudSystem
• Microsoft – Windows – Shell – Setup
o LogonCommands | FirstLogonCommands
o LocalAccount
Description=<Admin>
DisplayName=<Admin>
Group=<Administrators>
Name=<Admin>
Password
• Value=<password>
• Microsoft – Windows – Internationalization – core – WinPE
o InputLocale=<locale>
o SystemLocale=<locale>
o UILanguage=<language>
o UserLocale=<language>
o SetupUILanguage
UILanguage=<language>
• Microsoft – Windows – Setup
o UserData
AcceptEula=true
ProductKey
Key=<product key>
WillShowUI=OnError
Step 5: Install cloud-init
Cloud-init (https://cloudinit.readthedocs.org/en/latest/) is an open source project used with OpenStack to allow tools to integrate
images in a cloud. Cloudbase (http://www.cloudbase.it/) developed a Windows version and contributed it to the community. It is
available in a source version in github (https://github.com/cloudbase/cloudbase-init). From the Cloudbase website, you can also
find the easy-to-use install and configuration tool that is used in this step.
The Cloudbase tool automatically generates its own unattended file and offers the option to automatically step into running
Sysprep. Do not select this option. You will not have the opportunity to modify the unattended file with the one you created in
step 4.
Installing cloud-init
1. Make sure all customizations for the operating system are complete.
2. Download the cloud-init installation tool from Cloudbase for Windows.
http://www.cloudbase.it/cloud-init-for-windows-instances
3. Install cloud-init on the image.
4. Run CloudbaseInitSetup_Beta.
IMPORTANT: When you finish using the setup tool, you will be given the choice to run Sysprep directly. As discussed
previously, do not choose this option. It will not allow you to integrate your own unattended file.
5. Complete the Cloudbase-Init Setup Wizard.
a. Accept the license agreement.
b. On the Custom Setup screen, select the option for Windows Cloud Init (Default) and set the location to
C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Int\(Default).
c. On the Configuration options screen, fill in the options that are used to configure the cloudint.conf file.
This file is processed by cloud-init scripts when an instance is launched. The .conf files are created in
C:\Program Files (86)\Cloudbase Solutions\Cloudbase-Init\conf.
i. Username: <Admin>
8