feat(scripts): add automated QEMU ISO install verification#17594
Draft
kgodara912 wants to merge 1 commit into
Draft
feat(scripts): add automated QEMU ISO install verification#17594kgodara912 wants to merge 1 commit into
kgodara912 wants to merge 1 commit into
Conversation
Add scripts/auto_iso_install_qemu.py to drive an unattended Azure Linux ISO install in QEMU over the serial console and verify the installed system boots and logs in. Lets contributors iterate on the installer (Anaconda, kickstart, GRUB, LUKS) without clicking through the TUI, and gives CI a reusable smoke-test entry point. Supports both standard and LUKS-encrypted installs, parses the Anaconda hub at runtime to locate the Root password spoke, handles first-boot and post-relabel LUKS unlocks, verifies login via an echoed marker, captures `systemd-analyze` output, then powers off. Usage: python3 scripts/auto_iso_install_qemu.py -i <iso> -d <disk.qcow2>
Member
|
Hi @kgodara912 -- what would be your plan for running this as part of the Validation Service? It's okay if it's not integrated from the get-go, but would want to understand the plan. |
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.
Add scripts/auto_iso_install_qemu.py to drive an unattended Azure Linux ISO install in QEMU over the serial console and verify the installed system boots and logs in. Lets contributors iterate on the installer (Anaconda, kickstart, GRUB, LUKS) without clicking through the TUI, and gives CI a reusable smoke-test entry point.
Supports both standard and LUKS-encrypted installs, parses the Anaconda hub at runtime to locate the Root password spoke, handles first-boot and post-relabel LUKS unlocks, verifies login via an echoed marker, captures
systemd-analyzeoutput, then powers off.Usage:
python3 scripts/auto_iso_install_qemu.py -i -d <disk.qcow2>