Merge pull request #5184 from daogames/tb/fix-systemd-udev-net-rules
Fix filename for udev network interface rules
This commit is contained in:
commit
ddeee82b31
@ -87,8 +87,8 @@ let
|
|||||||
grep -l '\(RUN+\|IMPORT{program}\)="\(/usr\)\?/s\?bin' $i/*/udev/rules.d/* || true
|
grep -l '\(RUN+\|IMPORT{program}\)="\(/usr\)\?/s\?bin' $i/*/udev/rules.d/* || true
|
||||||
done
|
done
|
||||||
|
|
||||||
${optionalString config.networking.usePredictableInterfaceNames ''
|
${optionalString (! config.networking.usePredictableInterfaceNames) ''
|
||||||
cp ${./80-net-name-slot.rules} $out/80-net-name-slot.rules
|
cp ${./80-net-setup-link.rules} $out/80-net-setup-link.rules
|
||||||
''}
|
''}
|
||||||
|
|
||||||
# If auto-configuration is disabled, then remove
|
# If auto-configuration is disabled, then remove
|
||||||
|
Loading…
x
Reference in New Issue
Block a user