Hi Nathanaël,

 

With virt-sysprep, it is possible to install a package, update your template, activate a network connection, have SELinux relabel your system, and change other options.

Also is highly recommended to boot your template to ensure every last-minute change is working fine.

Before sealing the template, people use it to make all changes (update, package installation, user creation, network connections activation, etc…).

On the other hand, you can modify those options with virt-sysprep and launch an instance based on the template to validate your changes.

It is up to you to decide how to prepare your VM to seal/template it.

 

Regards,

Marcos

 

From: Nathanaël Blanchet <blanchet@abes.fr>
Sent: segunda-feira, 15 de novembro de 2021 17:19
To: users@ovirt.org
Subject: [External] : [ovirt-users] Virt-sysprep --update --network

 

Hello, 

As It is currently possible to seal a VM when templating with Sysprep, is it possible to extend virt-sysprep with other options as "--update --network" to update a qcow2 image with any hook?