mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-12 22:24:41 -05:00
Add a type attribute on the mac address element
This is only used in the ESX driver where, when set to "static", it will ignore all the checks libvirt does about the origin of the MAC address (whether or not it's in a VMWare OUI) and forward the original one to the ESX server telling it not to check it either. This allows keeping a deterministic MAC address which can be useful for licensed software which might dislike changes. Signed-off-by: Bastien Orivel <bastien.orivel@diateam.net> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
committed by
Michal Privoznik
parent
c051e56d27
commit
454e5961ab
@@ -427,6 +427,13 @@ error: invalid argument in libvirt was built without the 'esx' driver
|
||||
<pre>
|
||||
ethernet0.checkMACAddress = "false"
|
||||
</pre>
|
||||
<p>
|
||||
<span class="since">Since 6.6.0</span>, one can force libvirt to keep the
|
||||
provided MAC address when it's in the reserved VMware range by adding a
|
||||
<code>type="static"</code> attribute to the <code><mac/></code> element.
|
||||
Note that this attribute is useless if the provided MAC address is outside of
|
||||
the reserved VMWare ranges.
|
||||
</p>
|
||||
|
||||
|
||||
<h3><a id="hardware">Available hardware</a></h3>
|
||||
|
||||
Reference in New Issue
Block a user