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

add disk_id/file_id options for disk images #55

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

oliverkurth
Copy link
Contributor

@oliverkurth oliverkurth commented Apr 3, 2024

By default, disks and files get their IDs automatically, using diskn or filem as their IDs, where n and m are consecutive numbers. Sometimes, any post processing expects certain IDs. This PR adds options to set custom ids for disks and files.

Example:

    rootdisk:
        type: hard_disk
        parent: sata1
        disk_image: dummy.vmdk
        disk_id: dummy
        file_id: dummy_id

disk_id and file_id are independent from each other, any one can be set, or both.

@oliverkurth oliverkurth merged commit d2894d3 into master Apr 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants