prevent udev from remembering eth0 (wicd problem)
2009/11/1 Rob Owens <rowens@ptd.net>:
> How can I make Debian *not* remember the interfaces in
> 70-persistent-net.rules? 75-persistent-net-generator.rules seems like a
> starting point, but I'm not brave enough to tinker w/ udev stuff yet...
Hello,
you can exclude some files from being saved to the snapshot. From "man
live-snapshot":
FILES
/etc/live-snapshot.list
This optional file, if present changes the behaviour of live-snapshot,
only files and directories listed there are included (integrally) in
the snapshot. It works only for cpio and whole partition targets.
/etc/live-snapshot.exclude_list
This optional file, if present will filter the files that will be saved
by live-snapshot removing (as in "grep -F -v") all filenames that will
be matched by strings listed in it. It works for cpio, whole partition
and squashfs snapshot types only; it is pretty useful for filtering
temporary files and disk caches.
For this case you could use the file /etc/live-snapshot.exclude_list
and exclude the file where wicd saves the known network interfaces, so
each time you restart in a different computer, wicd starts with no
known interfaces and behaves correctly.
I'm not sure for wicd and I don't use full persistence, but excluding
the files you said in /etc/udev/rules.d/ and also
/etc/network/interfaces could be what you want.
Have fun,
Rui M. P. Bernardo
Reply to: