From 487f91b786d081c40562e3e69f4fed8e7fd1ed9e Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Sat, 27 Jan 2024 17:37:14 +0000 Subject: [PATCH] 2 --- cloud-init-sysprep.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 cloud-init-sysprep.sh 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