1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-01 16:36:06 +00:00

docs: how the datasource finds a VM, and the console settings only a superuser changes

The datasource names the VM by the reverse DNS name of the request's
address and sends keys only when its first label is one VM's name. On
the console settings, the listen address and removing the password of
a console listening beyond localhost are a superuser's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
This commit is contained in:
catborise 2026-11-08 17:48:42 +03:00
parent e7df84e2ae
commit cac76b84cc
2 changed files with 2 additions and 2 deletions

View file

@ -384,7 +384,7 @@ Every page is sent with `X-Frame-Options: DENY` and `Content-Security-Policy: sc
### Cloud-init datasource
WebVirtCloud serves cloud-init metadata to guest instances: the hostname, and the SSH keys of the VM's users for the image's default user. The host in the URL must be in `ALLOWED_HOSTS`:
WebVirtCloud serves cloud-init metadata to guest instances: the hostname, and the SSH keys of the VM's users for the image's default user. The panel finds the VM by the reverse DNS name of the address the request comes from: its first label must be the name of exactly one VM, or no keys are sent. The host in the URL must be in `ALLOWED_HOSTS`:
```yaml
datasource: