-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does vSphere iso on Packer allow adding SCSI Controllers and assigning hard disks to SCSI Controllers? #9518
Comments
The https://www.packer.io/docs/builders/vmware/vsphere-iso#disk_controller_type lets you define what kind of controller is used. Currently only one controller is supported. |
@jhawk28 Do you know if this is possible on Terraform? |
I don't know about Terraform, but my pull request (#9519) should be able to add the capability. |
I'm not sure I got everything 100% so no guarantee, but you can test out the binary here: https://app.circleci.com/pipelines/github/hashicorp/packer/5894/workflows/f3c58557-e7e9-461e-b30f-2045a3920494/jobs/63554/artifacts I made disk controller a list: https://deploy-preview-9519--packer-www.netlify.app/docs/builders/vmware/vsphere-iso#disk_controller_type Assign the disk to the controller with the index: https://deploy-preview-9519--packer-www.netlify.app/docs/builders/vmware/vsphere-iso#disk_controller_index |
Hey so will the config now look something like this?
|
exactly |
Hi, your code changes exactly fit my use case! Thanks so much. The first error out was a "general server fault" but rest assured there was no such fault. This time, it was typing out the boot command and in between, it failed. It'd be great if there's a stable binary for this. |
this build would include the new boot command stuff: #9406 |
Thanks, will you have a new Packer official release with these changes any time soon? |
No idea, I just create pull requests. They seem to release about once a month. |
Please keep this issue open, I'll report back on the stability of the Packer binary you gave me. Or if you deliver newer binaries, I can test them out too. |
I think they would prefer to have a new issue open for the boot stability issues. @SwampDragons would know. |
I'll make new issues with possible screenshots as and when I get them. |
Correct, I would like a new issue for any new stability issues. Sounds like this one can be closed once I merge 9519. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
From the vSphere UI, I can add "New SCSI Controller". My use case is to create 4 SCSI Controllers. And when I create a new hard disk, I want to assign each hard disk to some SCSI Controller.
So essentially, suppose I have 8 hard disks and 4 SCSI Controllers, and I want to add Hard disks 1 and 2 to SCSI 0 as 0:0 and 0:1, Hard disks 3 and 4 to SCSI 1 as 1:0 and 1:1, etc.
But I see no such option in Packer. When I create 8 Hard disks, they all get assigned to SCSI 0 as 0:0, 0:1, 0:2, 0:3 .. 0:7.
The text was updated successfully, but these errors were encountered: