3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-16 00:49:35 +01:00
Commit Graph

37 Commits

Author SHA1 Message Date
Pragmatic Software
9ef521309a
pbot-vm: update documentation about how to start PBot VM after reboot 2024-04-10 13:09:58 -07:00
Pragmatic Software
3b36894403
doc/VirtualMachine.md: clarify that VMs can be hosted on remote physical machines 2024-04-10 04:11:24 -07:00
Pragmatic Software
920a4f9712
doc/VirtualMachine.md: Vagrant is no longer experimental 2024-04-10 01:39:21 -07:00
Pragmatic Software
17b69f04ff
pbot-vm: massive refactor
* replace heartbeat with health-check
  * instead of steady stream of newlines every 5s, now awaits input
    and responds with `vmstat` output

* more reliably use host/config/vm-exec.json to get libvirt domain name
  for snapshot-revert, server address, serial ports, vagrant setting, etc

* use iptables/nftables to disable networking
  * added guest/bin/disable-network-[iptables,nftables]
  * added guest/bin/enable-network-[iptables,nftables]

* replace ugly ___OUTPUT___ texts in sh, bash, ksh, zsh languages

* documentation updates and tweaks
2024-04-10 01:21:18 -07:00
Pragmatic Software
24962935fa
applets/urban: sort by thumbs-up by default 2024-04-07 17:18:34 -07:00
Pragmatic Software
a3ab27dbac
pbot-vm: documentation tweaks 2024-04-04 12:23:45 -07:00
Pragmatic Software
2547f035a1
pbot-vm: add experimental Vagrant provisioning 2024-04-04 03:41:58 -07:00
Pragmatic Software
09aed30893
pbot-vm: add PBOTVM_ADDR env var to set address of vm-server 2024-03-31 17:36:36 -07:00
Pragmatic Software
0829265ef8
pbot-vm: setup-guest auto-detects OS/distro and runs provisioning scripts 2024-03-30 19:41:50 -07:00
Pragmatic Software
f8a739a688
doc/VirtualMachine.md: fix typo 2024-03-27 14:35:21 -07:00
Pragmatic Software
59090b39e7
pbot-vm: update VirtualMachine.md with improved PTY console install instructions and misc tweaks 2024-03-27 14:21:32 -07:00
Pragmatic Software
620ebe0ecb doc/VirtualMachine: add QEMU instructions 2023-05-07 14:23:27 -07:00
Pragmatic Software
d75cf1d0ad Update docs 2023-05-07 13:22:37 -07:00
Pragmatic Software
619ff86a94 Rename compiler factoid to vm-client 2022-02-14 16:47:46 -08:00
Pragmatic Software
d7390c31a4 doc/VirtualMachine.md: fix minor typos 2022-02-14 16:38:37 -08:00
Pragmatic Software
3cfedcf3b8 Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
Pragmatic Software
1326b0ac5f compiler_vm: major refactor to support VM sockets (AF_VSOCK)
VM socket communication is superior to VM serial communication in
every way. Unfortunately at this time only Linux supports them.
Fortunately, that's 99% of PBot's userbase.

If you're not using Linux or if you're using an older Linux that
does not support VM sockets, the PBot VM scripts will gracefully
fallback to using the serial connection. You may explicitly
disable VM socket connection attempts by setting PBOTVM_CID=0.
2022-02-12 16:06:04 -08:00
Pragmatic Software
e217fb15d5 doc/VirtualMachine.md: simplify reboot procedure 2022-02-10 16:54:55 -08:00
Pragmatic Software
64c1863f05 doc/VirtualMachine.md: document env overrides for add-serial 2022-02-10 16:37:39 -08:00
Pragmatic Software
d2269a3ca6 compiler_vm: more refactoring to prepare to handle multiple connections 2022-02-10 10:58:56 -08:00
Pragmatic Software
5fc4b9a6dd doc/VirtualMachine.md: remove io=native from disk to speed up snapshots 2022-02-08 12:16:09 -08:00
Pragmatic Software
f9afda0580 doc/VirtualMachine.md: fix env table 2022-02-06 20:08:14 -08:00
Pragmatic Software
0a856e2c18 doc/VirtualMachine.md: remove cache=none 2022-02-06 20:05:33 -08:00
Pragmatic Software
7916930816 compiler_vm: various host improvements
* VM scripts can now be configured via environment variables:

  PBOTVM_DOMAIN, PBOTVM_TIMEOUT, PBOTVM_SERVER, PBOTVM_SERIAL,
  PBOTVM_HEART, PBOTVM_NOREVERT
2022-02-06 20:01:56 -08:00
Pragmatic Software
5f3459ba96 doc/VirtualMachine.md: remove external snapshots due to lack of support 2022-02-04 12:25:32 -08:00
Pragmatic Software
fbb74bbca3 Update doc/VirtualMachine.md 2022-01-29 19:19:32 -08:00
Pragmatic Software
41c2203038 Update doc/VirtualMachine.md 2022-01-29 19:17:30 -08:00
Pragmatic Software
5da8af425a doc/VirtualMachine.md: fix a formatting issue 2022-01-29 19:13:33 -08:00
Pragmatic Software
4b495fa6d3 doc/VirtualMachine.md: fix a formatting issue 2022-01-29 19:12:36 -08:00
Pragmatic Software
804103f34b doc/VirtualMachine.md: fix a formatting issue 2022-01-29 19:11:07 -08:00
Pragmatic Software
de8e261276 Update doc/VirtualMachine.md 2022-01-29 19:09:35 -08:00
Pragmatic Software
bca07da986 doc/VirtualMachine.md: remove ToC, minor tweaks 2022-01-23 21:47:33 -08:00
Pragmatic Software
ee41ae5b36 doc/VirtualMachine.md: minor touch-ups 2022-01-23 11:03:03 -08:00
Pragmatic Software
9dff3bed47 Polish doc/VirtualMachine.md a bit 2022-01-23 08:40:19 -08:00
Pragmatic Software
33e13fd993 Start refactoring virtual machine (1/3)
This is expected to take three commits to complete. This first initial
commit does the following:

- Begin initial rough-draft of doc/VirtualMachine.md
- Begin initial refactoring of scripts

The next commit will polish up the initial rough-draft and refactoring.

The final commit will quality-check everything and fix anything overlooked.
2022-01-23 07:49:23 -08:00
Pragmatic Software
af6ba85ce8 doc/VirtualMachine.md: fix minor typo 2020-01-11 14:42:41 -08:00
Pragmatic Software
06935a199a Add doc/VirtualMachine.md framework [WIP] 2020-01-11 14:36:36 -08:00