Customize a Windows Virtual Machine Instance with Cloudbase-init

Similar to cloud-init for Linux virtual machines, cloudbase-init can be used for Windows virtual machines.

The below cloudbase script allows you to output some data to a text file:

rem cmd
rem write all files to C:/pf9-test.txt

set output_file="C:/pf9-test.txt"

echo "Hello world from Platform9!" > %output_file%
ver >> %output_file%
time /T >> %output_file%
tree /A >> %output_file%
dir >> %output_file%

Sample cloudbase script to change the computer name:

rem cmd
rem rename the computer to "my-new-hostname"
netdom renamecomputer %COMPUTERNAME% /NewName "my-new-hostname" /force

More information can be found here:

Vamsi Chemitiganti
Chief Strategist at Platform9 Systems. Vamsi works with Platform9's Client CXOs and Architects to help them on key business transformation initiatives. In previous roles, Vamsi was the CTO for RiskCounts - a FinTech based in NYC. Prior to that spent eight years as the Chief Architect for Red Hat’s Global Financial Services Vertical based out of NYC. Vamsi also spent two years as the General Manager (Financial Services) at Hortonworks. In both roles, Vamsi was responsible for driving Red Hat and Hortonworks technology vision from a client business standpoint. The clients Vamsi engages with on a daily basis span marquee financial services names across major banking centers in Wall Street, Toronto, London & in Asia. These include businesses in capital markets, retail banking, wealth management and IT operations. holds a BS in Computer Science and Engineering as well as an MBA from the University of Maryland, College Park. He is also a regular speaker at industry events on topics ranging from Cloud Computing, Big Data, AI, High-Performance Computing and Enterprise Middleware. In 2013, Wall Street and Technology Magazine identified Vamsi as a Global Thought Leader. Vamsi writes weekly on financial services business and technology landscape at his highly influential blog –

The browser you are using is outdated. For the best experience please download or update your browser to one of the following: