nova-dpm/guest_image_tools/etc/udev/rules.d/80-setmac.rules

4 lines
184 B
Plaintext

# React when an qeth device has been added
# %p is the device-path, e.g. /devices/qeth/0.0.0001/net/enc1
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="qeth", RUN+="/usr/bin/setmac.sh %p"