How-To Create Custom User in Windows Using Cloudbase-init

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

  1. Create a user data file as follows:
Copy
  1. 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.

Copy
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches