mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-01 00:16:04 +00:00
The create form and API took a MAC address for a new VM's NIC without looking at the host's other VMs, so a VM could be defined with a MAC another one has. Running on one network, neither NIC is reached reliably. A clone already refused this among its own NICs. The create now refuses a MAC a NIC of a VM on the host has, in any form the field takes (case, colons), including a NIC added for a VM's next boot only. The worker checks again before it defines the VM, since another VM may take the address while the job is queued. Turkish and Chinese texts included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea |
||
|---|---|---|
| .. | ||
| api | ||
| migrations | ||
| templates | ||
| templatetags | ||
| tests | ||
| __init__.py | ||
| addresses.py | ||
| apps.py | ||
| forms.py | ||
| jobs.py | ||
| models.py | ||
| report.py | ||
| states.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||