This commit is contained in:
Eliezer Croitoru 2024-01-27 17:37:14 +00:00
parent 336aa998ad
commit 487f91b786

10
cloud-init-sysprep.sh Executable file
View File

@ -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