agama/live/test
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
..
fixtures Filter out the special PXE boot parameters (#2293) 2025-04-25 15:09:42 +02:00
info_cmdline_test.rb Rename "root" to "live-root" to avoid confusion 2025-04-23 13:26:35 +02:00
kernel_cmdline_test.rb Rename "root" to "live-root" to avoid confusion 2025-04-23 13:26:35 +02:00