Skip to content

Add description field to NutanixDriver and update VM creation logic#171

Merged
tuxtof merged 1 commit intomasterfrom
feat/description
Feb 12, 2026
Merged

Add description field to NutanixDriver and update VM creation logic#171
tuxtof merged 1 commit intomasterfrom
feat/description

Conversation

@tuxtof
Copy link
Copy Markdown
Collaborator

@tuxtof tuxtof commented Feb 12, 2026

This pull request adds support for customizing the description of Nutanix VMs created by the driver. Users can now specify a description via a new command-line flag, and the driver ensures the description is set appropriately and limited in length.

VM Description Customization:

  • Added a new Description field to the NutanixDriver struct to store the VM description.
  • Updated the VM creation logic to use the user-provided description from the driver configuration instead of a hardcoded string.
  • Introduced a new nutanix-vm-description flag to allow users to specify a custom VM description when creating a VM.
  • Enhanced the SetConfigFromFlags method to handle the new description flag, providing a default if not set and truncating descriptions longer than 1000 characters.

fix #168

@tuxtof tuxtof requested a review from wolfganghuse February 12, 2026 16:35
Copy link
Copy Markdown
Collaborator

@wolfganghuse wolfganghuse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tuxtof tuxtof merged commit ea11e0a into master Feb 12, 2026
8 checks passed
@tuxtof tuxtof deleted the feat/description branch February 12, 2026 16:45
@tuxtof tuxtof added the enhancement New feature or request label Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add VM Description to Node Driver

2 participants