After cloning a VM template, we need to change things to make us stay out of trouble.
SSH to the machine and do these things.
Conventions
export NEW_HOSTNAME='newhost0'Machine ID
Change machine ID.
sudo apt-get dist-upgradesudo rm /var/lib/dbus/machine-idsudo rm /etc/machine-idsudo systemd-machine-id-setupsudo ln -s /etc/machine-id /var/lib/dbus/Hostname
echo "127.0.0.1 $NEW_HOSTNAME" | sudo tee -a /etc/hostssudo hostnamectl set-hostname $NEW_HOSTNAME
