@@ -33,21 +33,23 @@ Options:
33
33
set an ssh option
34
34
* -L, --print-build-logs
35
35
print full build logs
36
+ * --env-password
37
+ set a password used by ssh-copy-id, the password should be set by
38
+ the environment variable SSHPASS
36
39
* -s, --store-paths <disko-script> <nixos-system>
37
40
set the store paths to the disko-script and nixos-system directly
38
- if this is give, flake is not needed
39
- * --no-reboot
40
- do not reboot after installation, allowing further customization of the target installation.
41
+ if this is given, flake is not needed
41
42
* --kexec <path>
42
43
use another kexec tarball to bootstrap NixOS
44
+ * --kexec-extra-flags
45
+ extra flags to add into the call to kexec, e.g. "--no-sync"
43
46
* --post-kexec-ssh-port <ssh_port>
44
47
after kexec is executed, use a custom ssh port to connect. Defaults to 22
45
48
* --copy-host-keys
46
49
copy over existing /etc/ssh/ssh_host_* host keys to the installation
47
- * --stop-after-disko
48
- exit after disko formatting, you can then proceed to install manually or some other way
49
- * --extra-files <file...>
50
- files to copy into the new nixos installation
50
+ * --extra-files <path>
51
+ path to a directory to copy into the root of the new nixos installation.
52
+ Copied files will be owned by root.
51
53
* --disk-encryption-keys <remote_path> <local_path>
52
54
copy the contents of the file or pipe in local_path to remote_path in the installer environment,
53
55
after kexec but before installation. Can be repeated.
@@ -63,6 +65,12 @@ Options:
63
65
build the closure on the remote machine instead of locally and copy-closuring it
64
66
* --vm-test
65
67
build the system and test the disk configuration inside a VM without installing it to the target.
68
+ * --phases
69
+ comma separated list of phases to run. Default is: kexec,disko,install,reboot
70
+ kexec: kexec into the nixos installer
71
+ disko: first unmount and destroy all filesystems on the disks we want to format, then run the create and mount mode
72
+ install: install the system
73
+ reboot: reboot the machine
66
74
```
67
75
68
76
## Explanation of known error messages
0 commit comments