X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=charts%2Fresources%2Fscripts%2Finit%2Fo2_helmcli_start.sh;fp=charts%2Fresources%2Fscripts%2Finit%2Fo2_helmcli_start.sh;h=006b121eceb2b1e3f55d86cbcafdd4ee40103c48;hb=ad15ec6b732868c3ecedb9cd84450462bafa3320;hp=0000000000000000000000000000000000000000;hpb=f113db48acbe73641ce7d13c1cb8be6eea147f98;p=pti%2Fo2.git diff --git a/charts/resources/scripts/init/o2_helmcli_start.sh b/charts/resources/scripts/init/o2_helmcli_start.sh new file mode 100644 index 0000000..006b121 --- /dev/null +++ b/charts/resources/scripts/init/o2_helmcli_start.sh @@ -0,0 +1,15 @@ +apt-get update && apt-get install ssh -y + +if [ -z "${HELM_USER_PASSWD}" ]; +then + HELM_USER_PASSWD=St8rlingX* +fi +useradd helm +passwd helm << EOF +${HELM_USER_PASSWD} +${HELM_USER_PASSWD} +EOF + +service ssh restart + +tail -f /dev/null \ No newline at end of file