diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-31 17:35:07 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-31 17:35:07 +0100 |
commit | 407c0cc80268e1f2badc896c3ae883d4fa7603c7 (patch) | |
tree | b88b915a049df5a7816a38f9d0895bdda3423270 | |
parent | 02ccc80ebe58c5221b12c146f74fb8f29310ed95 (diff) | |
download | nixos-407c0cc80268e1f2badc896c3ae883d4fa7603c7.tar nixos-407c0cc80268e1f2badc896c3ae883d4fa7603c7.tar.gz nixos-407c0cc80268e1f2badc896c3ae883d4fa7603c7.tar.bz2 nixos-407c0cc80268e1f2badc896c3ae883d4fa7603c7.tar.xz nixos-407c0cc80268e1f2badc896c3ae883d4fa7603c7.zip |
...
-rw-r--r-- | hosts/surtr/tls.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/surtr/tls.nix b/hosts/surtr/tls.nix index d99e832c..4d0bc2b1 100644 --- a/hosts/surtr/tls.nix +++ b/hosts/surtr/tls.nix | |||
@@ -32,7 +32,8 @@ let | |||
32 | 32 | ||
33 | case "''${mode}" in | 33 | case "''${mode}" in |
34 | present) | 34 | present) |
35 | ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT '""' | 35 | ${knotCfg.cliWrappers}/bin/knotc zone-get ${zone} "''${owner}" TXT && \ |
36 | ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT '""' | ||
36 | ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT "''${challenge}" | 37 | ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT "''${challenge}" |
37 | ;; | 38 | ;; |
38 | cleanup) | 39 | cleanup) |