From 470d453eaba45f86d849a55ce16ec3e4ced4e0ae Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 3 Jul 2022 02:46:06 +0200 Subject: [PATCH] Added sudo config --- debian.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian.cfg b/debian.cfg index c35724e..81ab183 100644 --- a/debian.cfg +++ b/debian.cfg @@ -193,4 +193,6 @@ d-i preseed/late_command string \ in-target chmod 700 "/home/deploy"; \ in-target chmod 700 "/home/deploy/.ssh"; \ in-target chmod 600 "/home/deploy/.ssh/authorized_keys"; \ + echo "deploy ALL = NOPASSWD: ALL" >/target/etc/suders.d/deploy; \ + in-target cat <"" true