Added sudo config

This commit is contained in:
alex 2022-07-03 02:46:06 +02:00
parent d4e9969996
commit 470d453eab
1 changed files with 2 additions and 0 deletions

View File

@ -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