Skip to content

Switch from genisoimage to xorriso#182

Merged
ekohl merged 3 commits into
fog:masterfrom
ekohl:replace-genisoimage
Mar 17, 2026
Merged

Switch from genisoimage to xorriso#182
ekohl merged 3 commits into
fog:masterfrom
ekohl:replace-genisoimage

Conversation

@ekohl
Copy link
Copy Markdown
Contributor

@ekohl ekohl commented Dec 24, 2025

The genisoimage package is no longer available in EL10 because it was long unmaintained. The xorrisofs command is a drop in replacement.

Also does some further clean ups.

Fixes #181

def generate_config_iso_in_dir(dir_path, user_data, &blk)
FileUtils.touch(File.join(dir_path, "meta-data"))
File.open(File.join(dir_path, 'user-data'), 'w') { |f| f.write user_data }
meta_data_path = File.join(dir_path, "meta-data")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
meta_data_path = File.join(dir_path, "meta-data")
meta_data_path = File.join(dir_path, 'meta-data')

This makes it easier to follow what's related
The genisoimage package is no longer available in EL10 because it was
long unmaintained. The xorrisofs command is a drop in replacement.
This avoids using a shell and can deal properly with spaces in paths.
@ekohl ekohl force-pushed the replace-genisoimage branch from 3c53a16 to f6e01e5 Compare February 25, 2026 10:20
Copy link
Copy Markdown
Contributor

@evgeni evgeni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with rubygem-fog-libvirt-0.14.0-1.20260225102147357229.pr182.6.gf6e01e5.el9.noarch on an EL9 machine where I manually deleted /usr/bin/genisoimage and there was a valid cloud-init ISO attached to my VM.

@ekohl ekohl merged commit f6e01e5 into fog:master Mar 17, 2026
8 checks passed
@ekohl ekohl deleted the replace-genisoimage branch March 17, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate from genisoimage to xorriso

2 participants