Cloud-init

Initialize the virtual machine with cloud-init.

Properties

Enable cloud-init

Provide the virtual machine with a cloud-init NoCloud datasource.

  • Data type: boolean
  • Default: false
  • Configuration

CLI: (cli)> config compute vm <key> cloud-init enable

Instance ID

The cloud-init instance identifier.

Omit to use the virtual machine's configuration path.

  • Data type: string
  • Default: ``
  • Configuration
  • Optional

CLI: (cli)> config compute vm <key> cloud-init instance-id

Hostname

The guest operating system's hostname.

Omit to use the virtual machine's name.

  • Data type: string
  • Default: ``
  • Configuration
  • Optional

CLI: (cli)> config compute vm <key> cloud-init hostname

User data

Text data provided to the virtual machine.

  • Data type: string
  • Default: #cloud-config
  • Configuration
  • Required

CLI: (cli)> config compute vm <key> cloud-init user-data