aboutsummaryrefslogtreecommitdiff
path: root/src/connection/sudo.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-04-01 18:19:47 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-04-01 18:32:31 -0700
commitb6b26120f58e4d0b4bb884b44c7cc867cd90c8a0 (patch)
tree867b138c481bbfd42ea25db969e897a3c3624da6 /src/connection/sudo.lisp
parented8c76f566de8f6c10cdace515b3d076026258f0 (diff)
downloadconsfigurator-b6b26120f58e4d0b4bb884b44c7cc867cd90c8a0.tar.gz
connection chain specs.: consistently use :USER for the target user
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection/sudo.lisp')
-rw-r--r--src/connection/sudo.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection/sudo.lisp b/src/connection/sudo.lisp
index 486c8eb..8f3d238 100644
--- a/src/connection/sudo.lisp
+++ b/src/connection/sudo.lisp
@@ -25,9 +25,9 @@
;; data to obtain passwords by following the conventions for having
;; prerequisite data sources provide them.
-(defmethod preprocess-connection-args ((type (eql :sudo)) &key as (to "root"))
+(defmethod preprocess-connection-args ((type (eql :sudo)) &key as (user "root"))
(list :sudo
- :user to
+ :user user
:password (and
as
(destructuring-bind (user host)