1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/vrtManager
catborise 1f9347e148 fix(instances): a new VM and each clone get a VNC password of their own
Since the VM create became a job (6f0c7300) every new VM was defined with
no VNC password, and a clone copied its source's password (or its lack
of one) exactly: every clone of a template shared it. Computes listen
for VNC on all their addresses (dev/libvirt-bootstrap.sh), so anyone who
could reach a compute's VNC ports opened any of these consoles directly,
without the panel; the README's firewall rule was the only guard.

The create job asks for create.py's random 8-character password again,
and a clone's VNC graphics get a new random one. The console page sends
the password to a user with passwordless_console, which the user create
form now ticks by default next to change_password; a user without it is
asked for the password, as the permission intends. Existing VMs keep
their settings.

Live create, clone and VM page tests pass on a TCP compute.
2026-11-06 20:00:43 +03:00
..
tests fix(instances): a new VM and each clone get a VNC password of their own 2026-11-06 20:00:43 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
connection.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
create.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
hostdetails.py perf(vrtManager): the Computes page reads each host's VMs once 2026-11-04 21:42:09 +03:00
instance.py fix(instances): a new VM and each clone get a VNC password of their own 2026-11-06 20:00:43 +03:00
interface.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
libvirt-ssh fix(vrtManager): libvirt connections open within a time limit 2026-10-05 09:06:52 +03:00
network.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
nodedevs.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
nwfilters.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
rwlock.py fix(vrtManager): modernize rwlock for Python 3.12 compatibility and add tests 2026-09-24 21:49:52 +03:00
storage.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
util.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
virtsecrets.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00