From 1856e7e4b1e4660b0eeb209e677bb80561addf6b Mon Sep 17 00:00:00 2001 From: Joris Bolsens Date: Sat, 10 Feb 2024 00:31:39 -0800 Subject: nixos/kubernetes: use correct `-o` option with bash install when copying certs in cfssl prestart script --- nixos/modules/services/cluster/kubernetes/pki.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/modules/services/cluster/kubernetes/pki.nix b/nixos/modules/services/cluster/kubernetes/pki.nix index c47ceb218e66..9a01238c2391 100644 --- a/nixos/modules/services/cluster/kubernetes/pki.nix +++ b/nixos/modules/services/cluster/kubernetes/pki.nix @@ -174,7 +174,7 @@ in '') (optionalString cfg.genCfsslAPIToken '' if [ ! -f "${cfsslAPITokenPath}" ]; then - install -u cfssl -m 400 <(head -c ${toString (cfsslAPITokenLength / 2)} /dev/urandom | od -An -t x | tr -d ' ') "${cfsslAPITokenPath}" + install -o cfssl -m 400 <(head -c ${toString (cfsslAPITokenLength / 2)} /dev/urandom | od -An -t x | tr -d ' ') "${cfsslAPITokenPath}" fi '')]); -- cgit 1.4.1