Open ghost opened 3 years ago
If you're using a pipeline of the following:
You cannot manipulate any disks added in step 2 during deployment in step 3 as the terraform vsphere provider only supports one disk controller.
Hopefully, this context will help get this issue prioritized.
This issue was originally opened by @mayankbatra123 as hashicorp/packer#11091. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Overview of the Issue
So vshpere-clone module of packer allows us to add storage configurations for adding multiple disks. But it also add another scsi controller which is not required in all use cases. Need an additional option to add multiple disk to default disk_controller rather than creating a new.
disk_controller = "scsi0" //example
Reproduction Steps
Add Storage configuration block to vshpere-clone module
Similar to this -
Packer version
v1.7.2
Simplified Packer Buildfile
Operating system and Environment details
Ubuntu- 20.4
The above configuration does create an additional disk along with another scsi controller. If I remove the disk_controller_type from above configuration it throws an error.
It would be great to add an additional parameter to the configuration such as:
disk_controller = "scsi0" // just for example
This will allow the new disk to be mapped to default scsi controller rather than creating a new one.
Current--> 0:0, 1:0 -- Expected --> 0:0,0:1