update for machine-id

newer versions will automatically populate an empty /etc/machine-id
This commit is contained in:
2022-05-24 19:10:46 +00:00
parent 9bae1e472a
commit 9d799fac39

View File

@@ -80,8 +80,9 @@ truncate -s0 /etc/hostname
hostnamectl set-hostname localhost
#remove machine-id
rm /etc/machine-id
rm /var/lib/dbus/machine-id
#rm /etc/machine-id
#rm /var/lib/dbus/machine-id
echo -n > /etc/machine-id
#cleanup apt
apt clean