[Starlingx-discuss] Looking a command that changes Virtual host node MAC Addr.
Michel Thebeau
michel.thebeau at windriver.com
Mon Jan 28 17:20:16 UTC 2019
Hi Fernando,
It sounds like you will need to update the automation in either choice
you make. I have also been persisting my hosts' configurations,
including the mac-addresses, so that I can power-off and even "destroy"
the virtual machine. That's an option you may consider, either by not
running virsh destroy command or by using the virsh dumpxml command.
M
$ sudo virsh dumpxml controller-0 | grep "mac.address"
<mac address='52:54:00:12:7a:8f'/>
<mac address='52:54:00:ff:74:ba'/>
<mac address='52:54:00:6f:7f:21'/>
<mac address='52:54:00:d4:26:c1'/>
On Mon, 2019-01-28 at 17:07 +0000, Hernandez Gonzalez, Fernando wrote:
> Hi guys, thanks both of you.
>
> The motivation is because I am working with a Security Test Cases
> where at the end I am doing a backup and restore for a Virtual
> Dedicated Storage lab, our automation creates the nodes automatically
> and nodes' MAC Address are assigned randomly making the restore not
> get completed because of the mismatch of MAC Addresses.
>
> Based on your feedback I will proceed to specify MAC Addresses on
> .xmls nodes structures with a couple of some other tweaks seems to be
> simpler.
>
> Thanks.
>
> Fernando Hernandez Gonzalez
> Software Engineer
>
> Avenida del Bosque #1001 Col, El Bajío
> Zapopan, Jalisco MX, 45019
> ____________________________________
> Office: +52.33.16.45.01.34 inet 86450134
More information about the Starlingx-discuss
mailing list