nixpkgs/nixos/doc/manual
Maximilian Bosch c6978e8a58
nixos/test-driver: exit early if /dev/vhost-vsock isn't available
Right now it wrongly seems as if you can set
`sshBackdoor.enable = true;` for each test and not only for debugging
purposes.

This is wrong however since you'd need to pass /dev/vhost-vsock into the
sandbox for this (which is also a prerequisite for #392117).

To make that clear, two things were changed:

* add a warning to the manual to communicate this.
* exit both interactive and non-interactive driver early if
  /dev/vhost-vsock is missing and the ssh backdoor is enabled.

  If that's the case, we pass a CLI flag to the driver already in the
  interactive case. This change also sets the flag for the
  non-interactive case.

  That way we also get a better error if somebody tries to enable this
  on a system that doesn't support that.
2025-05-13 11:14:13 +02:00
..
administration Revert "NixOS apply script" 2024-11-01 20:18:09 -04:00
configuration nixos/doc: fix typos in LUKS section 2025-05-01 19:20:00 +03:00
development nixos/test-driver: exit early if /dev/vhost-vsock isn't available 2025-05-13 11:14:13 +02:00
installation manual: smaller fixes for nixos-rebuild build-image docs 2025-04-14 13:30:29 +02:00
release-notes doc/rl-2505: move services.dex entry to other notable changes 2025-05-10 14:47:23 -04:00
common.nix
contributing-to-this-manual.chapter.md nixos-render-docs: init redirects system 2024-11-15 14:09:21 +01:00
default.nix doc, nixos/doc: include roboto font 2025-04-21 13:18:05 +02:00
manual.md
nixos-options.md
preface.md
README.md
redirects.json nixos/test-driver: allow assigning other vsock number ranges (#405508) 2025-05-11 13:24:41 +02:00
shell.nix docs: fix devmode for manuals 2025-01-24 18:05:03 +01:00