mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 19:26:48 +00:00
A user who is not a superuser chooses the clone's name from the free names the clone form lists, or gets the first one with automatic names, but the server took any posted name. It now refuses a name outside the list, and with automatic names it takes the first free one whatever is posted. A superuser still names a clone freely. The panel checks VM names on every compute, but a job held a name only on its compute, so two clones from VMs on two hosts could take the same free name at once; a name claim now holds the name everywhere. A clone job whose name a VM found on a host took while it was queued stops before it copies anything. |
||
|---|---|---|
| .. | ||
| api | ||
| management | ||
| migrations | ||
| static/operations | ||
| templates/operations | ||
| templatetags | ||
| tests | ||
| __init__.py | ||
| apps.py | ||
| claims.py | ||
| jobs.py | ||
| models.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||
| worker.py | ||