commit c2249cebb14f9744df463d8d784774d48abe0dbf (tree)
parent 679226b60f62207a7dfc926cbb739f36457d633a
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Mon, 24 Jul 2023 10:38:29 +0300
zfsunlock: quiet diagnostics
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/services/zfsunlock/default.nix b/modules/services/zfsunlock/default.nix
@@ -10,9 +10,10 @@
# if host is reachable via "pingEndpoint", which, we presume is
# VPN (which implies the rootfs has been unlocked for VPN to work),
# exit successfully.
- ${pkgs.iputils}/bin/ping -W ${timeoutStr} -c 1 ${pingEndpoint} && exit 0
+ ${pkgs.iputils}/bin/ping -q -W ${timeoutStr} -c 1 ${pingEndpoint} && exit 0
exec ${pkgs.openssh}/bin/ssh \
+ -q \
-i /etc/ssh/ssh_host_ed25519_key \
-o UserKnownHostsFile=none \
-o GlobalKnownHostsFile=/dev/null \