[Swan-dev] [ot] getting systemd to set the KVM test domain's hostname

Antony Antony antony at phenome.org
Thu Aug 6 07:23:19 UTC 2020


On Wed, Aug 05, 2020 at 07:38:28PM -0400, Andrew Cagney wrote:
> it is a starting point, however the disk image (or clones) are:
> - created using kick-start
> - booted as base to install packages
> - booted as build to build libvirt

I have a feeling a better approch is cpompletely avoid the booting to 
east...  to transmorgify. This is a serialzed step and does not scale wel 
with larger number worker Qs. On Xeon Server with 32 cores it could take 30 
- 60 minutes. Think of 120(24 Worker Qs x 5) boot up and shutdown.

> - booted as east, ..., to test

I feel a better approch is mount the qcow2 files and make the changes to
necessary files, /etc/hostname or systemd files, network configs, directly 
instead of booting. 


More information about the Swan-dev mailing list