This adds basic validation for the network `device` in the kickstart stage. There are multiple ways that a `device` can written, see https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#network for details. When written as device name then this is checked by the kernel in https://elixir.bootlin.com/linux/v6.6.1/source/net/core/dev.c#L1038 and it's very free from. Our validation is stricter, if this becomes a problem we can relax it more. When written as a mac address the pattern will ensure it's written in exactly this way. |
||
|---|---|---|
| .. | ||
| test_kickstart.py | ||
| test_ostree_post_copy.py | ||