Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How-To Create Custom User in Windows Using Cloudbase-init
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
You want to create a custom user when creating a Windows-based VM that has Cloudbase-Init.
Environment
- Platform9 Managed OpenStack - All versions.
- Nova
- Cloudbase-Init
Procedure
- Create a user data file as follows:
xxxxxxxxxx# cat /root/user_datarem cmdnet user chinmay Platf0rm9! /addnet localgroup administrators chinmay /add- Create the instance using the CLI or GUI.
- If using GUI, paste the contents of the user_data file in the cloud-config section of the Instance creation wizard.
- If using CLI, run the following command.
# openstack server create --image [Image_UUID] --net [Network_UUID] --flavor [Flavor_UUID] --user-data [path to user_data file] [instance_name]VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
What Does UUID in the "Owner" Field Correspond to?Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message