37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From 235a13b34e65b8d4ec4bde59e36247445b0778e8 Mon Sep 17 00:00:00 2001
|
|
From: Yuhang Wei <weiyuhang3@huawei.com>
|
|
Date: Tue, 15 Aug 2023 16:24:25 +0800
|
|
Subject: [PATCH] KubeOS: add line breaks
|
|
|
|
Signed-off-by: Yuhang Wei <weiyuhang3@huawei.com>
|
|
---
|
|
scripts/admin-container/set-ssh-pub-key.service | 2 +-
|
|
scripts/admin-container/set-ssh-pub-key.sh | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/scripts/admin-container/set-ssh-pub-key.service b/scripts/admin-container/set-ssh-pub-key.service
|
|
index cf21406..84dd12d 100644
|
|
--- a/scripts/admin-container/set-ssh-pub-key.service
|
|
+++ b/scripts/admin-container/set-ssh-pub-key.service
|
|
@@ -12,4 +12,4 @@
|
|
Description="set ssh authorized keys according to the secret which is set by user"
|
|
|
|
[Service]
|
|
-ExecStart="/usr/local/bin/set-ssh-pub-key.sh"
|
|
\ No newline at end of file
|
|
+ExecStart="/usr/local/bin/set-ssh-pub-key.sh"
|
|
diff --git a/scripts/admin-container/set-ssh-pub-key.sh b/scripts/admin-container/set-ssh-pub-key.sh
|
|
index aa706c2..e91a15d 100755
|
|
--- a/scripts/admin-container/set-ssh-pub-key.sh
|
|
+++ b/scripts/admin-container/set-ssh-pub-key.sh
|
|
@@ -23,4 +23,4 @@ if [ ! -f "$authorized_file" ]; then
|
|
chmod 600 "$authorized_file"
|
|
fi
|
|
|
|
-echo "$ssh_pub" >> "$authorized_file"
|
|
\ No newline at end of file
|
|
+echo "$ssh_pub" >> "$authorized_file"
|
|
--
|
|
2.39.0
|
|
|