Often (maybe 80% of the time), when I reboot a machine running Avahi, it starts using
machinename-2.local as it's hostname. All the machines on my network have unique hostnames, so there is no collision.
How do I prevent Avahi from appending
-2 to hostnames?
(This turns out to be an incredibly difficult thing to Google for…)