From 88befb176680d6f88bcdd11bd347d0f1680efdf5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 23 Aug 2011 17:13:45 +0200 Subject: Moving removal of udev persistent rules from chroot_hacks to a hook, that way it can be easily skipped if desired. --- share/hooks/005-remove-udev-persistent-rules.chroot | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 share/hooks/005-remove-udev-persistent-rules.chroot (limited to 'share/hooks') diff --git a/share/hooks/005-remove-udev-persistent-rules.chroot b/share/hooks/005-remove-udev-persistent-rules.chroot new file mode 100755 index 000000000..c7eec20b1 --- /dev/null +++ b/share/hooks/005-remove-udev-persistent-rules.chroot @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +# Remove udev persistent rules. +# +# This removes udev persistent rules that cache the host systems mac address to +# remember its device name. + +rm -f /etc/udev/rules.d/*persistent-net.rules -- cgit v1.2.3