NixOS VM tests: Difference between revisions
TobiasBora (talk | contribs) Write that this page is outdated. |
learned this @ nixcon25 (https://github.com/applicative-systems/nixos-test-driver-nixcon) |
||
Line 23: | Line 23: | ||
Add this to your test config: | Add this to your test config: | ||
interactive. | interactive.sshBackdoor.enable = true; | ||
Now you can connect to this VM via | Now you can connect to this VM via (on linux): | ||
ssh root | ssh -o User=root vsock/3 | ||
If you are on MacOS or have multiple VMs look at the shell output that do run the interactive tests. | |||
== How to debug tests ? == | == How to debug tests ? == |