Sysprep For Linux Access

Stop the services that write to the disk so you can clean the logs effectively. sudo service rsyslog stop sudo service auditd stop Use code with caution. 2. Remove Machine ID

For a basic example, consider using cloud-init to change the hostname and network configuration: sysprep for linux

#cloud-config hostname: myhost network: config: disabled Stop the services that write to the disk

If you cannot use virt-sysprep , you can manually prepare a Linux system by executing these common "generalization" steps: sysprep for linux