Make reboot on extraConfig change optional #1070
Labels
acknowledged
Status: Issue or Pull Request Acknowledged
area/vm
Area: Virtual Machines
enhancement
Type: Enhancement
size/s
Relative Sizing: Small
Milestone
Community Note
Description
Currently any extra_config change on a vsphere_virtual_machine resource results in a reboot (even if reboot_required is false , #1004 ). For one of the most common use cases of extra_config, setting guestinfo variables available to the OS, that's not required. I agree that in some cases it might be, so i propose to make it optional with a flag (following VMware's logic of hot adding resources - they can't know if the OS will handle adding RAM or CPUs gracefully, so one needs to explicitly allow it without requiring a reboot). I can implement this myself, it'd be a pretty easy change. Maybe we can keep it to reboot_required =true by default to keep up with the current behaviour, but allow changing it to facilitate use.
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: