diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-30 17:22:05 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-30 17:22:05 +0200 |
commit | b1ac827bf9e2513006c851d46dbba3b12687331d (patch) | |
tree | 084573ba36c4e31a519bcb3536170373850f17af /hosts/surtr/tls.nix | |
parent | 93b09ca9798e7514fa5937e8163916e826c5e7d5 (diff) | |
download | nixos-b1ac827bf9e2513006c851d46dbba3b12687331d.tar nixos-b1ac827bf9e2513006c851d46dbba3b12687331d.tar.gz nixos-b1ac827bf9e2513006c851d46dbba3b12687331d.tar.bz2 nixos-b1ac827bf9e2513006c851d46dbba3b12687331d.tar.xz nixos-b1ac827bf9e2513006c851d46dbba3b12687331d.zip |
acme@surtr: ...
Diffstat (limited to 'hosts/surtr/tls.nix')
-rw-r--r-- | hosts/surtr/tls.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/surtr/tls.nix b/hosts/surtr/tls.nix index d087c9f5..c95ae493 100644 --- a/hosts/surtr/tls.nix +++ b/hosts/surtr/tls.nix | |||
@@ -20,10 +20,12 @@ let | |||
20 | 20 | ||
21 | case "''${mode}" in | 21 | case "''${mode}" in |
22 | present) | 22 | present) |
23 | ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT "" | ||
23 | ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT "''${challenge}" | 24 | ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT "''${challenge}" |
24 | ;; | 25 | ;; |
25 | cleanup) | 26 | cleanup) |
26 | ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT "''${challenge}" | 27 | ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT "''${challenge}" |
28 | ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT "" | ||
27 | ;; | 29 | ;; |
28 | *) | 30 | *) |
29 | exit 2 | 31 | exit 2 |