Skip to content

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

@rhpijnacker

Description

@rhpijnacker

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions