udevnet

udev persistent network names with Puppet

Diego Elio Pettenò

Flameeyes

10,274 downloads

10,274 latest version

1.9 quality score

Version information

  • 0.0.1 (latest)
released Mar 29th 2013

Start using this module

Documentation

Flameeyes/udevnet — version 0.0.1 Mar 29th 2013

udev persistent network names with Puppet

Overview

This module is a work in progress, but is designed mainly to allow the user to give persistent names to interfaces based on their MAC address (in the future alternative methods might be provided).

Usage

The udevnet::interface type takes the new interface name as name and the MAC address as the hwaddress parameter:

udevnet::interface { 'wan0':
  hwaddress => 'ff:de:ad:be:ef:00',
}

The define will remove 70persistent-net.rules if present and will make sure to link 80net-slot-name.rules to /dev/null to make sure that the new "predictable" names are not used.