De acordo com o site da Redhat, há virt-sysprep que faz coisas parecidas que o Sysprep faz no Windows.
The virt-sysprep command-line tool can be used to reset or unconfigure a guest virtual machine so that clones can be made from it. This process involves removing SSH host keys, removing persistent network MAC configuration, and removing user accounts. Virt-sysprep can also customize a virtual machine, for instance by adding SSH keys, users or logos. Each step can be enabled or disabled as required.
Na página de manual vinculada, eles mostram coisas assim:
--append-line '/etc/hosts:10.0.0.1 foo'
--append-line '/etc/hosts:10.0.0.2 bar'
E isso:
--commands-from-file FILENAME (see customize below)
Qual seria então usar esse arquivo como entrada:
delete /some/file
install some-package
password some-user:password:its-new-password