Skip to content

Add --to-disk to support new to disk provisioning (warewulf4)#43

Merged
adrianreber merged 3 commits intomainfrom
2025-10-08-disk
Oct 9, 2025
Merged

Add --to-disk to support new to disk provisioning (warewulf4)#43
adrianreber merged 3 commits intomainfrom
2025-10-08-disk

Conversation

@adrianreber
Copy link
Copy Markdown
Member

This PR includes a rework of the option parser to support long options and some minor changes.

adrianreber and others added 3 commits October 8, 2025 12:51
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>
@adrianreber adrianreber merged commit 428e3f2 into main Oct 9, 2025
7 checks passed
@adrianreber adrianreber deleted the 2025-10-08-disk branch October 9, 2025 07:26
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.

1 participant