mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixos/kubernetes: use correct -o
option with bash install when copying certs in cfssl prestart script
This commit is contained in:
parent
8f9789aa7f
commit
1856e7e4b1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
'')]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue