retspen / webvirtcloud

WebVirtCloud is virtualization web interface for admins and users
1.63k stars 362 forks source link

Get MAC OUI from settings.py #611

Closed MisterBlueBear closed 8 months ago

MisterBlueBear commented 8 months ago

Removed the hard coded MAC OUI in the code and instead fetches the OUI from settings.py

If independent instances of WebVirtCloud (or any libvirt) exists on the same subnet and VMs are configured to use a bridge interface, this could lead to duplicate MACs on the same subnet (low probability, but still possible). This change gives the user a choice to define an OUI.

catborise commented 8 months ago

It is a standart Kvm ethernet MAC prefix. It should not be problem. This prefix defines that Ethernet is a Kvm vm Ethernet. But your suggestion does not Break anything.