Add --to-disk to support new to disk provisioning (warewulf4)#43
Merged
adrianreber merged 3 commits intomainfrom Oct 9, 2025
Merged
Add --to-disk to support new to disk provisioning (warewulf4)#43adrianreber merged 3 commits intomainfrom
--to-disk to support new to disk provisioning (warewulf4)#43adrianreber merged 3 commits intomainfrom
Conversation
Replace bash builtin getopts with external getopt tool for improved option parsing capabilities. This change adds support for long options and provides better error handling while maintaining full backward compatibility with existing short options. Key improvements: - Add long option equivalents for all short options - Enhanced error messages for invalid options - POSIX-compliant option parsing - Future extensibility for new options - Updated help documentation to show both formats 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Adrian Reber <areber@redhat.com>
Add new long option --to-disk to run-ci.sh that enables disk-based provisioning of compute node images. When specified, the option sets enable_todisk=1 in the vars file for use by downstream provisioning scripts. Changes: - Add --to-disk long option to getopt parsing - Add case handler for the new option - Update help text with option description - Export enable_todisk=1 to vars file when option is used 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Adrian Reber <areber@redhat.com>
Improve test infrastructure compatibility with OpenEuler distributions and update repository configurations for better CI reliability. Changes: - Generalize OpenEuler version support from specific 22.03 to wildcard pattern for broader compatibility - Add OpenEuler-specific repository configuration fixes including metalink disabling and baseurl corrections - Configure SELinux disabled for OpenEuler nodes via warewulf - Switch OpenChami provisioner to use Factory repositories for EL_10 - Add policycoreutils-python-utils package to kickstart for SELinux management utilities These changes improve distribution compatibility and CI reliability across different OpenEuler versions and provisioning scenarios. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Adrian Reber <areber@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR includes a rework of the option parser to support long options and some minor changes.