4e6bae198b
Subiquity has a mechanism to detect the presence of netplan. It does so by checking the existence of the file /lib/netplan/generate. This mechanism is used in the network screen to validate the YAML configuration. However, since netplan 0.107 (present in mantic and noble), the file /lib/netplan/generate is no longer present. It used to be provided as an alias for /usr/libexec/netplan/generate ; starting in jammy. This made Subiquity unable to detect that netplan is running ; and therefore skip the YAML validation against netplan. Since we support focal in Subiquity, let's change the detection code so that we look for both locations. When we stop supporting Focal in the future, we can drop the reference to /lib/netplan/generate. Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com> |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
network.py |