From 874af9b05bec0bd73a333166a8b5291ecb1c0e3e Mon Sep 17 00:00:00 2001 From: Andrew Fontaine Date: Wed, 26 Jan 2022 22:10:49 -0500 Subject: Add custom sudo command support This is useful for nodes that utilize `doas` instead of `sudo`. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 9fb016e..7f5b748 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,11 @@ This is a set of options that can be put in any of the above definitions, with t # If `sshUser` is specified, this will be the default (though it will _not_ default to your own username) user = "root"; + # Which sudo command to use. Must accept at least two arguments: + # the user name to execute commands as and the rest is the command to execute + # This will default to "sudo -u" if not specified anywhere. + sudo = "doas -u"; + # This is an optional list of arguments that will be passed to SSH. sshOpts = [ "-p" "2121" ]; -- cgit v1.2.3