fixing vm issues
This commit is contained in:
1 parent
49c6d6e6cc
commit
0e76632d2e
9 files changed
+138
-10
No files matched your search
@@ -869,7 +869,8 @@ module set `hermes-guest-image` is built from — in an ephemeral, throwaway
|
||||
NixOS test VM. No real disk under `/var/lib/hermes-vm/**` is ever touched:
|
||||
|
||||
```bash
|
||||
nix build .#checks.x86_64-linux.guest-vm --impure -L
|
||||
runvmtest # plain pass/fail (nix build .#checks.x86_64-linux.guest-vm --impure -L)
|
||||
runvmtest-debug # build the interactive driver and drop into it (ptpython REPL)
|
||||
```
|
||||
|
||||
Checks first-boot seeding (`~/.hermes`, `~/workspace`, the `/etc/nixos`
|
||||
@@ -878,3 +879,7 @@ the `.seeded` marker), the `hermes` user/sudo setup, and SSH. It
|
||||
deliberately does not cover the real `hermes-install` script (no internet
|
||||
route inside the test VM) or `modules/host.nix`'s own `hermes-vm` QEMU
|
||||
service — both stay manual, operator-run checks.
|
||||
|
||||
`runvmtest-debug` gives you `start_all()`, `machine.wait_for_unit(...)`, and
|
||||
`machine.shell_interact()` (a live shell inside the guest) to step through a
|
||||
failure by hand instead of just getting pass/fail.
|
||||
Reference in new issue
Block a user