Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix the helm install failed
[pti/o2.git]
/
tests
/
o2app-helmcli-entry.sh
diff --git
a/tests/o2app-helmcli-entry.sh
b/tests/o2app-helmcli-entry.sh
index
e00a00b
..
fc0b3c3
100644
(file)
--- a/
tests/o2app-helmcli-entry.sh
+++ b/
tests/o2app-helmcli-entry.sh
@@
-1,15
+1,14
@@
-ap
t-get update && apt-get install ssh -y
+ap
k add --no-cache openssh
if [ -z "${HELM_USER_PASSWD}" ];
then
if [ -z "${HELM_USER_PASSWD}" ];
then
- HELM_USER_PASSWD=St8rlingX
+ HELM_USER_PASSWD=St8rlingX
*
fi
fi
-useradd helm
-
passwd
helm << EOF
+
+
adduser
helm << EOF
${HELM_USER_PASSWD}
${HELM_USER_PASSWD}
EOF
${HELM_USER_PASSWD}
${HELM_USER_PASSWD}
EOF
-service ssh restart
-
-tail -f /dev/null
\ No newline at end of file
+ssh-keygen -A
+exec /usr/sbin/sshd -D -e "$@"
\ No newline at end of file