diff options
author | Daniel Baumann <daniel@debian.org> | 2011-08-23 17:13:45 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-08-23 17:13:45 +0200 |
commit | 88befb176680d6f88bcdd11bd347d0f1680efdf5 (patch) | |
tree | 88d55e57177dbf444d5295f2188c3d138f52e89b /share | |
parent | 9a59c0a2d65dde87839e9d184a9e561885b8b743 (diff) | |
download | vyos-live-build-88befb176680d6f88bcdd11bd347d0f1680efdf5.tar.gz vyos-live-build-88befb176680d6f88bcdd11bd347d0f1680efdf5.zip |
Moving removal of udev persistent rules from chroot_hacks to a hook, that way it can be easily skipped if desired.
Diffstat (limited to 'share')
-rwxr-xr-x | share/hooks/005-remove-udev-persistent-rules.chroot | 10 |
1 files changed, 10 insertions, 0 deletions
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 |