Skip to content

Conversation

niwamo
Copy link

@niwamo niwamo commented Jun 20, 2025

Description

Allows (but doesn't require) the user to explicitly set the index of a disk. If set, the plugin will update (not replace) any clone disks in the same slot. The upstream dependency telmate/proxmox-api-go intelligently resolves the configs and resizes the cloned disk (assuming the new size is greater than the current one). See the call to Update here and the disk-resizing login in the function definition here

Resolved Issues

Closes #309

Rollback Plan

If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

NA

leverages existing features in telmate/proxmox-api-go (which is used
for the CloneVM API call) to resize cloned disks IF the type and index
fields of a disk entry are used to specify an existing disk
@niwamo niwamo requested a review from a team as a code owner June 20, 2025 03:31
@niwamo
Copy link
Author

niwamo commented Jun 20, 2025

@lbajolet-hashicorp it looks like you may be the most active maintainer - if you get a chance to look this over, I'd appreciate it!

@niwamo niwamo closed this Jun 20, 2025
@niwamo niwamo deleted the support-resizing-cloned-disks branch June 20, 2025 03:37
@niwamo niwamo restored the support-resizing-cloned-disks branch June 20, 2025 03:37
@niwamo niwamo reopened this Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to grow cloned vm disks
1 participant