1
0
Fork 0
mirror of https://github.com/pygos/init-scripts.git synced 2024-11-14 17:07:11 +01:00
init-scripts/netcfg/ifrename
David Oberhollenzer 021fa43244 Initial commit
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-05 16:11:47 +01:00

13 lines
371 B
Text

#
# Interface renaming rules
#
# Format: NAME,MAC,NEWNAME
#
# NAME and MAC are shell glob patterns. Both must match for a rule to apply.
# The first matching rule is chosen (top to bottom).
#
# Interfaces with the same NEWNAME are sorted by MAC and have a running
# index appended to their new name.
#
# Example: rename all ethernet interfaces to "port<X>"
# eth*,*,port