Skip to content

Add metal config drive#1

Open
atd9876 wants to merge 2 commits into
mainfrom
add-metal-config-drive
Open

Add metal config drive#1
atd9876 wants to merge 2 commits into
mainfrom
add-metal-config-drive

Conversation

@atd9876

@atd9876 atd9876 commented Apr 24, 2026

Copy link
Copy Markdown
Owner

Local PR for copilot review

@atd9876

atd9876 commented Apr 24, 2026

Copy link
Copy Markdown
Owner Author

@copilot review this PR

@atd9876 atd9876 force-pushed the add-metal-config-drive branch 3 times, most recently from bab4a01 to a13e77b Compare May 8, 2026 12:25
atd9876 added 2 commits June 10, 2026 09:14
Follow the existing pattern used by SystemConfigDir and other distro
functions, allowing KernelCmdlinePath to be overridden via the
IGNITION_KERNEL_CMDLINE_PATH environment variable. This enables
blackbox tests to inject a fake kernel cmdline.
Add support for loading Ignition config from a labeled block device via
the ignition.config.device and ignition.config.path kernel command-line
arguments. Both must be specified together.

Error handling:
- Return hard error if only one of device/path is specified
- Return hard error if the device does not appear within 30s timeout
- Return hard error if the config file is not found on the device

Includes unit tests for parseCmdline and blackbox integration tests
covering both positive (successful fetch) and negative (missing device,
missing file, incomplete options) scenarios.
@atd9876 atd9876 force-pushed the add-metal-config-drive branch from 9a073d5 to 0861cdd Compare June 10, 2026 08:41
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