Clone prepare
rm -f /etc/machine-id
rm -f /var/lib/dbus/machine-id
truncate -s 0 /etc/machine-id
rm -f /etc/udev/rules.d/70-persistent-net.rules
rm -f /etc/ssh/ssh_host_*
apt clean
journalctl --vacuum-time=1s
rm -rf /var/log/*
unset HISTFILE
history -c
systemctl poweroff
Change hostname
sudo nano /etc/hostname