diff options
author | Winter <winter@winter.cafe> | 2023-01-02 10:36:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-02 07:36:41 -0800 |
commit | 15013b305466fdd0a52222ed2a3ff87bf9e41af9 (patch) | |
tree | e786abcad8e79d92312e533cd97f8e40f6caf2cb /doc/builders | |
parent | f18a89197a3eca7859a1ac15a21f58b76994ee18 (diff) | |
download | nixlib-15013b305466fdd0a52222ed2a3ff87bf9e41af9.tar nixlib-15013b305466fdd0a52222ed2a3ff87bf9e41af9.tar.gz nixlib-15013b305466fdd0a52222ed2a3ff87bf9e41af9.tar.bz2 nixlib-15013b305466fdd0a52222ed2a3ff87bf9e41af9.tar.lz nixlib-15013b305466fdd0a52222ed2a3ff87bf9e41af9.tar.xz nixlib-15013b305466fdd0a52222ed2a3ff87bf9e41af9.tar.zst nixlib-15013b305466fdd0a52222ed2a3ff87bf9e41af9.zip |
darwin.builder: prefer shutting down over halting VM (#208450)
This is preferable because it prevents things like disk corruption (requiring the user to delete the disk image when starting up) that I consistently ran into.
Diffstat (limited to 'doc/builders')
-rw-r--r-- | doc/builders/special/darwin-builder.section.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/builders/special/darwin-builder.section.md b/doc/builders/special/darwin-builder.section.md index 205db14347aa..af9de5751b2c 100644 --- a/doc/builders/special/darwin-builder.section.md +++ b/doc/builders/special/darwin-builder.section.md @@ -39,7 +39,8 @@ nixos login: ``` > Note: When you need to stop the VM, type `Ctrl`-`a` + `c` to open the `qemu` -> prompt and then type `quit` followed by `Enter` +> 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`) To delegate builds to the remote builder, add the following options to your `nix.conf` file: |