You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: terraform/all-in-one.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,13 +204,15 @@ No resources.
204
204
| <aname="input_build_on_remote"></a> [build\_on\_remote](#input_build_on_remote)| Build the closure on the remote machine instead of building it locally and copying it over |`bool`|`false`| no |
205
205
| <aname="input_debug_logging"></a> [debug\_logging](#input_debug_logging)| Enable debug logging |`bool`|`false`| no |
206
206
| <aname="input_deployment_ssh_key"></a> [deployment\_ssh\_key](#input_deployment_ssh_key)| Content of private key used to deploy to the target\_host after initial installation. To ensure maximum security, it is advisable to connect to your host using ssh-agent instead of relying on this variable |`string`|`null`| no |
207
+
| <aname="input_deployment_ssh_options"></a> [deployment\_ssh\_options](#input_deployment_ssh_options)| Additional SSH options to use during deploy |`list(string)`|`[]`| no |
207
208
| <aname="input_disk_encryption_key_scripts"></a> [disk\_encryption\_key\_scripts](#input_disk_encryption_key_scripts)| Each script will be executed locally. Output of each will be created at the given path to disko during installation. The keys will be not copied to the final system | <pre>list(object({<br/> path = string<br/> script = string<br/> }))</pre> |`[]`| no |
208
209
| <aname="input_extra_environment"></a> [extra\_environment](#input_extra_environment)| Extra environment variables to be set during installation. This can be useful to set extra variables for the extra\_files\_script or disk\_encryption\_key\_scripts |`map(string)`|`{}`| no |
209
210
| <aname="input_extra_files_script"></a> [extra\_files\_script](#input_extra_files_script)| A script that should place files in the current directory that will be copied to the targets / directory |`string`|`null`| no |
210
211
| <aname="input_file"></a> [file](#input_file)| Nix file containing the nixos\_system\_attr and nixos\_partitioner\_attr. Use this if you are not using flake |`string`|`null`| no |
211
212
| <aname="input_install_bootloader"></a> [install\_bootloader](#input_install_bootloader)| Install/re-install the bootloader |`bool`|`false`| no |
212
213
| <aname="input_install_port"></a> [install\_port](#input_install_port)| SSH port used to connect to the target\_host, before installing NixOS. If null than the value of `target_port` is used |`string`|`null`| no |
213
214
| <aname="input_install_ssh_key"></a> [install\_ssh\_key](#input_install_ssh_key)| Content of private key used to connect to the target\_host during initial installation |`string`|`null`| no |
215
+
| <aname="input_install_ssh_options"></a> [install\_ssh\_options](#input_install_ssh_options)| Additional SSH options to use during installation |`list(string)`|`[]`| no |
214
216
| <aname="input_install_user"></a> [install\_user](#input_install_user)| SSH user used to connect to the target\_host, before installing NixOS. If null than the value of `target_host` is used |`string`|`null`| no |
215
217
| <aname="input_instance_id"></a> [instance\_id](#input_instance_id)| The instance id of the target\_host, used to track when to reinstall the machine |`string`|`null`| no |
Copy file name to clipboardExpand all lines: terraform/install.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,7 @@ No modules.
77
77
| <aname="input_nixos_system"></a> [nixos\_system](#input_nixos_system)| The nixos system to deploy |`string`|`""`| no |
78
78
| <aname="input_no_reboot"></a> [no\_reboot](#input_no_reboot)| DEPRECATED: Use `phases` instead. Do not reboot after installation |`bool`|`false`| no |
79
79
| <aname="input_phases"></a> [phases](#input_phases)| Phases to run. See `nixos-anywhere --help` for more information |`list(string)`| <pre>[<br/> "kexec",<br/> "disko",<br/> "install",<br/> "reboot"<br/>]</pre> | no |
80
+
| <aname="input_ssh_options"></a> [ssh\_options](#input_ssh_options)| Additional SSH options to use during installation |`list(string)`|`[]`| no |
80
81
| <aname="input_ssh_private_key"></a> [ssh\_private\_key](#input_ssh_private_key)| Content of private key used to connect to the target\_host |`string`|`""`| no |
81
82
| <aname="input_stop_after_disko"></a> [stop\_after\_disko](#input_stop_after_disko)| DEPRECATED: Use `phases` instead. Exit after disko formatting |`bool`|`false`| no |
82
83
| <aname="input_target_host"></a> [target\_host](#input_target_host)| DNS host to deploy to |`string`| n/a | yes |
description="Path to which to write a `facter.json` generated by `nixos-facter`. This option cannot be set at the same time as `nixos_generate_config_path`."
122
122
default=""
123
123
}
124
+
125
+
variable"ssh_options" {
126
+
type=list(string)
127
+
description="Additional SSH options to use during installation"
| <aname="input_ignore_systemd_errors"></a> [ignore\_systemd\_errors](#input_ignore_systemd_errors)| Ignore systemd errors happening during deploy |`bool`|`false`| no |
56
-
| <aname="input_install_bootloader"></a> [install\_bootloader](#input_install_bootloader)| Install/re-install the bootloader |`bool`|`false`| no |
57
-
| <aname="input_nixos_system"></a> [nixos\_system](#input_nixos_system)| The nixos system to deploy |`string`| n/a | yes |
58
-
| <aname="input_ssh_private_key"></a> [ssh\_private\_key](#input_ssh_private_key)| Content of private key used to connect to the target\_host. If set to - no key is passed to openssh and ssh will use its own configuration |`string`|`"-"`| no |
59
-
| <aname="input_target_host"></a> [target\_host](#input_target_host)| DNS host to deploy to |`string`| n/a | yes |
60
-
| <aname="input_target_port"></a> [target\_port](#input_target_port)| SSH port used to connect to the target\_host |`number`|`22`| no |
61
-
| <aname="input_target_user"></a> [target\_user](#input_target_user)| User to deploy as |`string`|`"root"`| no |
53
+
| Name | Description | Type | Default | Required |
| <aname="input_ignore_systemd_errors"></a> [ignore\_systemd\_errors](#input_ignore_systemd_errors)| Ignore systemd errors happening during deploy |`bool`|`false`| no |
56
+
| <aname="input_install_bootloader"></a> [install\_bootloader](#input_install_bootloader)| Install/re-install the bootloader |`bool`|`false`| no |
57
+
| <aname="input_nixos_system"></a> [nixos\_system](#input_nixos_system)| The nixos system to deploy |`string`| n/a | yes |
58
+
| <aname="input_ssh_options"></a> [ssh\_options](#input_ssh_options)| Additional SSH options to use during deploy |`list(string)`|`[]`| no |
59
+
| <aname="input_ssh_private_key"></a> [ssh\_private\_key](#input_ssh_private_key)| Content of private key used to connect to the target\_host. If set to - no key is passed to openssh and ssh will use its own configuration |`string`|`"-"`| no |
60
+
| <aname="input_target_host"></a> [target\_host](#input_target_host)| DNS host to deploy to |`string`| n/a | yes |
61
+
| <aname="input_target_port"></a> [target\_port](#input_target_port)| SSH port used to connect to the target\_host |`number`|`22`| no |
62
+
| <aname="input_target_user"></a> [target\_user](#input_target_user)| User to deploy as |`string`|`"root"`| no |
0 commit comments