This seems to be a historical limitation. As Netplan originally wrote an instantiated netplan-wpa@.service unit, identified by the interface name.
We might be able to work around this today, using the new custom "netplan-wpa-*.service" units and some runtime detection of the interface name, using helpers like "_netplan_enumerate_interfaces()".
Alternatively, we could at least accept the "match" stanza right now, when a "set-name" is configured, so we will only every need to match a single interface in wpa_supplicant.conf (using the "-i IFACE" parameter). Would the latter be sufficient for your usecase?
This seems to be a historical limitation. As Netplan originally wrote an instantiated netplan- wpa@.service unit, identified by the interface name.
We might be able to work around this today, using the new custom "netplan- wpa-*.service" units and some runtime detection of the interface name, using helpers like "_netplan_ enumerate_ interfaces( )".
Alternatively, we could at least accept the "match" stanza right now, when a "set-name" is configured, so we will only every need to match a single interface in wpa_supplicant.conf (using the "-i IFACE" parameter). Would the latter be sufficient for your usecase?