agama/live/test/fixtures/source/cmdline
Ladislav Slezák 3e5ac5d521
Filter out the special PXE boot parameters (#2293)
## Problem

- The special PXE boot parameters are passed to the installed system,
that's wrong
- https://github.com/agama-project/agama/issues/2280

## Solution

- Enhance the filtering code to ignore the specific PXE boot parameters
- Remove also most of the network settings

## Testing

- The unit test has been updated
- Tested manually

## Screenshots

After booting the installer via PXE the extra parameters can be seen in
the `/proc/cmdline` file. But the `/run/agama/cmdline.d/kernel.conf`
does not include them and the journal log shows they were ignored:

![agama-boot-params](https://github.com/user-attachments/assets/362fec5c-d35e-4006-9078-8e0e67eef21c)

After booting the installed system no PXE boot option is present on the
`linux` line:

![agama-boot-params-installed](https://github.com/user-attachments/assets/b05b96e5-4453-4b04-90de-2022d7710315)
2025-04-25 15:09:42 +02:00

1 line
287 B
Text

BOOT_IMAGE=/boot/vmlinuz initrd=/boot/initrd rd.kiwi.install.pxe rd.kiwi.install.image=http://example.com/agama-installer.x86_64-42.0.0.xz ip=eth0:10.42.0.42 splash=silent agama.auto=ftp://example.suse.cz/profile.json LIBSTORAGE_MULTIPATH=1 mitigations=auto Y2DEBUG=1 quiet nosimplefb=1