Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.

Add option to remove CD-ROM drives#238

Closed
eriweb wants to merge 2 commits intojetbrains-infra:masterfrom
eriweb:master
Closed

Add option to remove CD-ROM drives#238
eriweb wants to merge 2 commits intojetbrains-infra:masterfrom
eriweb:master

Conversation

@eriweb
Copy link
Copy Markdown

@eriweb eriweb commented Apr 30, 2019

PR #173 changed the default behavior of removing CD-ROM drives and ejects them instead.
This PR adds an option called remove_cdrom (default false) that
when enabled removed any CD-ROM devices from the VM/template.

This should fix #214

PR #173 changed the default behavior of removing CD-ROM drives.
This PR adds an option called `remove_cdrom` (default false) that
when enabled removed any CD-ROM devices
@danonh
Copy link
Copy Markdown

danonh commented May 3, 2019

Hi terbolous,
This option does not work for me, I get
Errors validating build 'rails'. 1 error(s) occurred:

  • unknown configuration key: "remove_cdrom"

I use latest builder provided by jetbrains
If this works for you can you tell if "remove_cdrom" removes specific drive or all cdrom drives configured within VM? I need an option that removes only specific cd-rom where vmtools has been mounted.
Thanks,

@eriweb
Copy link
Copy Markdown
Author

eriweb commented May 3, 2019 via email

@MFiederlein
Copy link
Copy Markdown

Working well for me, thanks. Please, can this be merged?

@theonlydude1
Copy link
Copy Markdown

Hello, please can you merge this one ? We are forced to use manual steps to remove the CD....
Thanks !

@Bandyman
Copy link
Copy Markdown

Yes, please get this merged. It would be super handy for us!

@rhockenbury
Copy link
Copy Markdown

@VladRassokhin Can this be merged, or is it waiting for something?

@atiniir
Copy link
Copy Markdown

atiniir commented Feb 4, 2020

@VladRassokhin Can this be merged, or is it waiting for something?

@rhockenbury i think this change will need to be re-submitted against the packer main repo since the plugin itself has been migrated over there.

maybe?

@daxgames
Copy link
Copy Markdown

daxgames commented Feb 4, 2020

@terbolous Did you ever look at submitting this change to the main packer since this plugin is now a part of the packer project? It is unreleased at this point but this change would be nice to have.

@daxgames
Copy link
Copy Markdown

daxgames commented Feb 4, 2020

@terbolous I have pulled down the packer source and have a branch with your change added. I am testing it now.

daxgames pushed a commit to daxgames/packer that referenced this pull request Feb 4, 2020
@eriweb
Copy link
Copy Markdown
Author

eriweb commented Feb 7, 2020

@daxgames No sorry, I didn't notice the plugin going upstream. I have no issues with you handling the PR there

jhawk28 pushed a commit to jhawk28/packer that referenced this pull request Feb 14, 2020
@daxgames
Copy link
Copy Markdown

This has been merged into the Packer main repo and can be closed if its not going to be merged here. vsphere iso remove cdroms #8690

@eriweb eriweb closed this Feb 18, 2020
sylviamoss pushed a commit to vmware/packer-plugin-vsphere that referenced this pull request Apr 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

CD-ROM devices no longer removed

8 participants