Skip to content

Instantly share code, notes, and snippets.

View borisceranic's full-sized avatar

Boris Ćeranić borisceranic

View GitHub Profile

Keybase proof

I hereby claim:

  • I am borisceranic on github.
  • I am borisceranic (https://keybase.io/borisceranic) on keybase.
  • I have a public key whose fingerprint is 1F96 8C51 4DC1 15B1 1165 03BE 15DD E55B C732 7FB8

To claim this, I am signing this object:

@borisceranic
borisceranic / 75-persistent-net-generator.rules
Created May 14, 2011 10:33
udev rules.d for remembering NICs by their bus_id instead of mac address
# These rules generate rules to keep network interface names unchanged
# across reboots and write them to /etc/udev/rules.d/70-persistent-net.rules.
# variables used to communicate:
# MATCHADDR MAC address used for the match
# MATCHID bus_id used for the match
# MATCHDRV driver name used for the match
# MATCHIFTYPE interface type match
# COMMENT comment to add to the generated rule
# INTERFACE_NAME requested name supplied by external tool