mirror of
https://github.com/luthermonson/go-proxmox.git
synced 2026-04-26 01:15:57 +03:00
[GH-ISSUE #248] Add support for creating cloud-init iso with the Joliet extension enabled #65
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-proxmox#65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rgl on GitHub (Feb 26, 2026).
Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/248
The current
VirtualMachine.CloudInit/makeCloudInitISOfunction creates an ISO with Rock Ridge extension enabled, and that works fine for non-Windows machines, but for Windows, the ISO must also use the Joliet extension, otherwise, the-characters are converted to_, which means that on Windows, theuser-datafilename appears asUSER_DATA, which means cloudbase-init (a cloud-init alternative for Windows) will not find it (by default).Unfortunately, the used go-diskfs library does not support that extension, so we have to use an external tool like xorriso as:
I will soon submit a PR to prefer using xorriso (when found on the PATH), otherwise, fallback to use the go-diskfs library.