Linux system preparation is achieved through distribution-specific tools (e.g., virt-sysprep , cloud-init , systemd-machine-id-setup ) and manual shell scripts. The goal is to produce a "golden image" that can be deployed without conflicts.
| Platform | Mechanism | |----------|------------| | | Linux images run cloud-init at startup – regenerates SSH keys, sets unique hostnames, resets machine ID. | | VMware | Use virt-sysprep before converting to template, or enable guestinfo with cloud-init. | | Proxmox | pve-container templates use built-in cleanup; for VMs, run virt-sysprep . | | OpenStack | Glance images should be cloud-init ready – no manual Sysprep required. |







