[Swan-dev] [ot] getting systemd to set the KVM test domain's hostname
andrew.cagney at gmail.com
Thu Aug 6 13:56:42 UTC 2020
On Thu, 6 Aug 2020 at 03:24, Antony Antony <antony at phenome.org> wrote:
> 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.
Right, fortunately there's no reboot.
> > - 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.
Paul's sketched out some systemd that runs a script to fix hostname.
Both it and my systemd networkd changes can be installed on base.
I keep wondering about booting the domains with a read-only or
snapshotted file system - contents are guarenteed.
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
More information about the Swan-dev