doc/VirtualMachine.md: clarify that VMs can be hosted on remote physical machines

This commit is contained in:
Pragmatic Software 2024-04-10 04:11:24 -07:00
parent 3f98aced62
commit 3b36894403
No known key found for this signature in database
GPG Key ID: CC916B6E3C84ECCE
1 changed files with 4 additions and 2 deletions

View File

@ -511,8 +511,10 @@ In your instance of PBot, the `sh echo hello` command should output `hello`.
<PBot> hello
## Adding additional VMs
You may add as many virtual machines as your system can handle. Edit the [`vm-exec.json`](../applets/pbot-vm/host/config/vm-exec.json) configuration
file to do so. Then use the `-vm=...` option to select them with the `sh`, `cc`, etc, commands.
You may add as many virtual machines as you like. The virtual machines can exist on different physical machines.
Edit the [`vm-exec.json`](../applets/pbot-vm/host/config/vm-exec.json) configuration file with the details (IP addresses
of remote machines hosting the virtual machines, etc). Then use the `-vm=...` option to select the machine with the
`sh`, `cc`, etc, commands.
For instance, if you create a FreeBSD VM and have added it to [`vm-exec.json`](../applets/pbot-vm/host/config/vm-exec.json) with an alias of `freebsd`: