System Management
Before a baseline VM image is used as a template for clones, which data should be removed so that each clone generates its own on first boot?
Show the answer
Correct answerA. The SSH host keys and the /etc/machine-id value
AWhy this is right: Host keys and machine-id identify one machine, so clones must regenerate them to be unique.
BWhy not this: Fstab entries are needed to boot and are the same for every clone, so they stay.
CWhy not this: Repository GPG keys are shared trust anchors, not per-machine identity, so every clone keeps them.
DWhy not this: Service unit files are shared configuration; removing them would break the clones.
Generalizing a template, for example with virt-sysprep, removes per-machine identity so each clone creates unique keys and IDs on first boot. Leaving them in place gives every clone the same identity.