Note to self: Xen config

Once again, my blog becomes my own personal scratch pad for things I want to remember. In this case, what to do with Xen domUs that install udev:

– login to the VM using “xm console ID”
– edit /etc/udev/persistent-net-generator.rules
– insert the following at the top, just below the first comment block:

# No persistent interface names for Xen VMs.
KERNEL==”eth*”, GOTO=”persistent_net_generator_end”

– remove the existing persistence “database”:

rm /etc/udev/rules.d/z25_persistent-net.rules

You’re not expected to understand or care.