Re: Is it possible to configure libvirt's MAC generation?

2020-06-16 Thread brent s.
On 6/15/20 03:45, Erik Skultety wrote: > On Fri, Jun 12, 2020 at 02:18:13PM -0400, Alvin Starr wrote: >> 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

Re: Is it possible to configure libvirt's MAC generation?

2020-06-15 Thread Erik Skultety
On Fri, Jun 12, 2020 at 02:18:13PM -0400, Alvin Starr wrote: > 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. Another one is to use the

Re: Is it possible to configure libvirt's MAC generation?

2020-06-12 Thread Alvin Starr
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

RE: Is it possible to configure libvirt's MAC generation?

2020-06-12 Thread Marc Roos
>=== = > In Soviet Russia, Google searches you! >=== = You can easily remove 'In Soviet Russia, '

Re: Is it possible to configure libvirt's MAC generation?

2020-06-12 Thread Ian Pilcher
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

Re: Is it possible to configure libvirt's MAC generation?

2020-06-12 Thread Peter Crowther
Specify the MAC address as part of the domain XML for the bootstrap node. See https://libvirt.org/formatdomain.html#elementsNICS. If using virt-install, set it as part of the --network option: "--network NETWORK,mac=12:34..." - Peter On Fri, 12 Jun 2020 at 18:07, Ian Pilcher wrote: > Is it