File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ function install_helm {
6363}
6464
6565function configure_os {
66+ echo -e " \\ 033[32m---> Start configuring kernel parameters\\ 033[0m"
6667 if [[ " $( command -v iptables) " != " " ]] ; then
6768 iptables -F
6869 iptables -X
@@ -83,6 +84,7 @@ function configure_os {
8384 echo ' vm.nr_hugepages = 1024' >> /etc/sysctl.conf
8485 fi
8586 sysctl -p
87+ echo -e " \\ 033[32m---> Configuring kernel parameters finish\\ 033[0m"
8688}
8789
8890function configure_registries {
133135}
134136
135137function configure_mirrors {
138+ echo -e " \\ 033[32m---> Start configuring mirrors\\ 033[0m"
136139 configure_registries
137140 if [[ " ${INSTALL_DRYCC_MIRROR} " == " cn" ]] ; then
138141 INSTALL_K3S_MIRROR=" ${INSTALL_DRYCC_MIRROR} "
@@ -145,6 +148,7 @@ function configure_mirrors {
145148 fi
146149 INSTALL_K3S_VERSION=$( curl -Ls " $K3S_RELEASE_URL " | grep /k3s-io/k3s/releases/tag/ | sed -E ' s/.*\/k3s-io\/k3s\/releases\/tag\/(v[0-9\.]{1,}[rc0-9\-]{0,}%2Bk3s[0-9])".*/\1/g' | head -1)
147150 export INSTALL_K3S_VERSION
151+ echo -e " \\ 033[32m---> Configuring mirrors finish\\ 033[0m"
148152}
149153
150154function install_k3s_server {
You can’t perform that action at this time.
0 commit comments