diff --git a/cloud-init-sysprep.sh b/cloud-init-sysprep.sh new file mode 100755 index 0000000..4d82443 --- /dev/null +++ b/cloud-init-sysprep.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +apt clean +cloud-init clean + +#truncate -s 0 /etc/machine-id + +echo -n "" > /etc/machine-id + +rm -vf /etc/netplan/50-cloud-init.yaml