install-k8s-on-ubuntu-2204/cloud-init-sysprep.sh

11 lines
150 B
Bash
Raw Permalink Normal View History

2024-01-27 19:37:14 +02:00
#!/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