about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorGabriella Gonzalez <Gabriel439@gmail.com>2023-01-03 21:12:56 -0800
committerGitHub <noreply@github.com>2023-01-03 21:12:56 -0800
commit6d89aa8f1d238cc5ed97215f7e229b8283bef027 (patch)
treeb3d3c194c51095acc27e4212625bd36c62280fd5 /doc
parentd067c8aa5f6e15a48c1baaee5d290264e2d4acd0 (diff)
downloadnixlib-6d89aa8f1d238cc5ed97215f7e229b8283bef027.tar
nixlib-6d89aa8f1d238cc5ed97215f7e229b8283bef027.tar.gz
nixlib-6d89aa8f1d238cc5ed97215f7e229b8283bef027.tar.bz2
nixlib-6d89aa8f1d238cc5ed97215f7e229b8283bef027.tar.lz
nixlib-6d89aa8f1d238cc5ed97215f7e229b8283bef027.tar.xz
nixlib-6d89aa8f1d238cc5ed97215f7e229b8283bef027.tar.zst
nixlib-6d89aa8f1d238cc5ed97215f7e229b8283bef027.zip
darwin.builder: auto-login as the `builder` user (#208772)
… as suggested by @NiklasGollenstede in:

https://github.com/NixOS/nixpkgs/pull/206951#issuecomment-1369020601

This simplifies the user experience for logging into and
debugging the machine and also simplifies the instructions for
shutting down the machine gracefully.
Diffstat (limited to 'doc')
-rw-r--r--doc/builders/special/darwin-builder.section.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/builders/special/darwin-builder.section.md b/doc/builders/special/darwin-builder.section.md
index af9de5751b2c..3913b692498d 100644
--- a/doc/builders/special/darwin-builder.section.md
+++ b/doc/builders/special/darwin-builder.section.md
@@ -28,19 +28,21 @@ Password:
 ```
 
 … so that it can install a private key used to `ssh` into the build server.
-After that the script will launch the virtual machine:
+After that the script will launch the virtual machine and automatically log you
+in as the `builder` user:
 
 ```
 <<< Welcome to NixOS 22.11.20220901.1bd8d11 (aarch64) - ttyAMA0 >>>
 
 Run 'nixos-help' for the NixOS manual.
 
-nixos login:
+nixos login: builder (automatic login)
+
+
+[builder@nixos:~]$
 ```
 
-> Note: When you need to stop the VM, type `Ctrl`-`a` + `c` to open the `qemu`
-> prompt and then type `system_powerdown` followed by `Enter`, or run `shutdown now`
-> as the `builder` user (e.g. `ssh -i keys/builder_ed25519 builder@localhost shutdown now`)
+> Note: When you need to stop the VM, run `shutdown now` as the `builder` user.
 
 To delegate builds to the remote builder, add the following options to your
 `nix.conf` file: