Skip to content
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

Can I add iso files without "media=cdrom" #246

Open
rhpijnacker opened this issue Jan 1, 2024 · 1 comment
Open

Can I add iso files without "media=cdrom" #246

rhpijnacker opened this issue Jan 1, 2024 · 1 comment
Labels

Comments

@rhpijnacker
Copy link
Contributor

Hello,

I am trying to setup deploying a macOS VM using Proxmox (legally, it is running on an old iMac, which fits Apple's license). For this I am following this guide:
https://www.youtube.com/watch?v=68R2SdbFj-8&ab_channel=i12bretro

I was able to run this manually, but since we will reinstalling the macOS instances regularly, I would like to deploy this using Packer.

Steps 24/25 instruct to remove the media=cdrom part of the ide0 and ide2 devices and add cache=unsafe instead.

24. Press CTRL+W and search for ,media=cdrom
25. Delete the ,media=cdrom from the two attached .iso files (KVM OpenCore and Sonoma) and add cache=unsafe

I succeeded in adding cache=unsafe by adding this to the iso_file config:

  iso_file = "storage:iso/OpenCore-v20.iso,cache=unsafe"

Is there a way in which I can keep the system from adding media=cdrom to the ide devices?

@rgl
Copy link
Contributor

rgl commented Feb 11, 2024

@rhpijnacker I'm also looking for that. here's a PoC that does that #251 have a look and comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants