Commit 26e58753 authored by Wen Wei Li's avatar Wen Wei Li

remove cp and node different

parent ab353cc4
...@@ -236,19 +236,15 @@ main(){ ...@@ -236,19 +236,15 @@ main(){
if check_root; then if check_root; then
update_system update_system
echo "Installing" echo "Installing"
copy_host_file $1 copy_host_file $1
if [[ $2 == "cp" ]]; then
prerequisite prerequisite
install_cri install_cri
install_k8s install_k8s
echo "COPY K8S Config" echo "COPY K8S Config"
copy_k8s_config copy_k8s_config
else echo "Please add to Cluster CP"
echo "Please add to Cluster CP " echo "Finish Setup K8S"
fi
echo "Finish Setup K8S"
exit exit
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment