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

Paul Wouters paul at nohats.ca
Wed Aug 5 22:49:03 UTC 2020

On Wed, 5 Aug 2020, Andrew Cagney wrote:

> (somewhat connected to breakage on testing)
> When a test domain first boots the script swan-transmorify.  This
> script uses a table to map from the MACAddress of the interfaces to
> the test domain's hostname.  It then sets the hostname using
> <<hostname NAME>>.
> Can anyone think of a way to do this using systemd?
> (I just pushed changes to configure the interfaces using systemd,
> setting hostname is next on the list)

Using a oneshot service we install via anaconda ?



More information about the Swan-dev mailing list