File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ inputs: {
1010 with types ; {
1111 enable =
1212 mkEnableOption "Create deployment script at `config.system.build.spoInstallScript`." ;
13- target-dns = mkOption {
13+ target = mkOption {
1414 type = nullOr str ;
1515 default = null ;
1616 example = "root@128.196.0.1" ;
1717 description = ''
18- The target DNS address to deploy to. Overwritten by a command line argument.
18+ The target address to deploy to, in the format <user>@<host>, where host is a DNS hostname . Overwritten by a command line argument.
1919 '' ;
2020 } ;
2121 } ;
@@ -46,7 +46,7 @@ inputs: {
4646 rm -rf "$tmp_keys"
4747 }
4848
49- target="${ builtins . toString ( config . spo-anywhere . install-script . target-dns or "" ) } "
49+ target="${ builtins . toString ( config . spo-anywhere . install-script . target or "" ) } "
5050
5151 # todo: make target optional option
5252
Original file line number Diff line number Diff line change 174174 install-script {
175175 imports = [ installing ] ;
176176 config = {
177- spo-anywhere . install-script . target-dns = "some-invalid-garbage" ;
177+ spo-anywhere . install-script . target = "some-invalid-garbage" ;
178178 } ;
179179 }
180180 ) ;
192192 install-script {
193193 imports = [ installing ] ;
194194 config = {
195- spo-anywhere . install-script . target-dns = "root@installed" ;
195+ spo-anywhere . install-script . target = "root@installed" ;
196196 } ;
197197 }
198198 ) ;
You can’t perform that action at this time.
0 commit comments