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
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,7 @@ No resources.
113
113
| <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 |
114
114
| <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 |
115
115
| <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 |
116
+
| <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 |
116
117
| <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 |
117
118
| <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 |
118
119
| <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 |
@@ -123,7 +124,7 @@ No resources.
123
124
| <aname="input_no_reboot"></a> [no\_reboot](#input_no_reboot)| Do not reboot after installation |`bool`|`false`| no |
124
125
| <aname="input_stop_after_disko"></a> [stop\_after\_disko](#input_stop_after_disko)| Exit after disko formatting |`bool`|`false`| no |
125
126
| <aname="input_target_host"></a> [target\_host](#input_target_host)| DNS host to deploy to |`string`| n/a | yes |
126
-
| <aname="input_target_port"></a> [target\_port](#input_target_port)| SSH port used to connect to the target\_host, before installing NixOS|`number`|`22`| no |
127
+
| <aname="input_target_port"></a> [target\_port](#input_target_port)| SSH port used to connect to the target\_host after installing NixOS. If install\_port is not set than this port is also used before installing.|`number`|`22`| no |
127
128
| <aname="input_target_user"></a> [target\_user](#input_target_user)| SSH user used to connect to the target\_host after installing NixOS. If install\_user is not set than this user is also used before installing. |`string`|`"root"`| no |
Copy file name to clipboardExpand all lines: terraform/all-in-one/variables.tf
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,12 @@ variable "install_user" {
33
33
default=null
34
34
}
35
35
36
+
variable"install_port" {
37
+
type=string
38
+
description="SSH port used to connect to the target_host, before installing NixOS. If null than the value of `target_port` is used"
39
+
default=null
40
+
}
41
+
36
42
variable"target_user" {
37
43
type=string
38
44
description="SSH user used to connect to the target_host after installing NixOS. If install_user is not set than this user is also used before installing."
@@ -41,7 +47,7 @@ variable "target_user" {
41
47
42
48
variable"target_port" {
43
49
type=number
44
-
description="SSH port used to connect to the target_host, before installing NixOS"
50
+
description="SSH port used to connect to the target_host after installing NixOS. If install_port is not set than this port is also used before installing."
0 commit comments