Merge pull request #62902 from rvolosatovs/fix/systemd-networkd-match
systemd-networkd: Only generate [Match] if present
This commit is contained in:
commit
c66fe5a161
@ -669,7 +669,7 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
commonMatchText = def: ''
|
||||
commonMatchText = def: optionalString (def.matchConfig != {}) ''
|
||||
[Match]
|
||||
${attrsToSection def.matchConfig}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user