One solution would be to dump the XML for the domain and then run
something like sed on it to change what ever you want and then update
the domain.
Of course that will only work if the domain is stopped.
On 6/12/20 2:00 PM, Ian Pilcher wrote:
On 6/12/20 12:28 PM, Peter Crowther wrote:
Specify the MAC address as part of the domain XML for the bootstrap
node. See https://libvirt.org/formatdomain.html#elementsNICS.
Unfortunately, the domain XML is created by the OpenShift installer,
over which I have no control. :-(
Digging into the libvirt source, it doesn't look like there's any way
to configure MAC address generation. I'm now investigating whether I
can mangle the source MAC of the outgoing DHCP packets with ebtables.
Uugh.
--
Alvin Starr || land: (647)478-6285
Netvel Inc. || Cell: (416)806-0133
alvin@xxxxxxxxxx ||