Forrest logo
back to context overview

virt-sysprep

List of commands for virt-sysprep:

  • virt-sysprep:tldr:66af5 virt-sysprep: List all supported operations (enabled operations are indicated with asterisks).
    $ virt-sysprep --list-operations
    try on your machine
    explain this command
  • virt-sysprep:tldr:77aff virt-sysprep: Run only the specified operations.
    $ virt-sysprep --domain ${vm_name} --operations ${operation1,operation2,---}
    try on your machine
    explain this command
  • virt-sysprep:tldr:a828f virt-sysprep: Run all enabled operations but don't actually apply the changes.
    $ virt-sysprep --domain ${vm_name} --dry-run
    try on your machine
    explain this command
  • virt-sysprep:tldr:f5bba virt-sysprep: Generate a new `/etc/machine-id` file and enable customizations to be able to change the host name to avoid network conflicts.
    $ virt-sysprep --domain ${vm_name} --enable ${customizations} --hostname ${host_name} --operation ${machine-id}
    try on your machine
    explain this command
back to context overview