diff --git a/context/rootfs/scripts/init.sh b/context/rootfs/scripts/init.sh deleted file mode 100644 index 79a6ac8..0000000 --- a/context/rootfs/scripts/init.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# Copyright © 2021 Alibaba Group Holding Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# shellcheck disable=SC2181 -STORAGE=${1:-/var/lib/docker} -REGISTRY_DOMAIN=${2-sea.hub} -REGISTRY_PORT=${3-5000} - -# Install docker -chmod a+x docker.sh -#./docker.sh /var/docker/lib sealer.hub 5001 -bash docker.sh "${STORAGE}" "${REGISTRY_DOMAIN}" "$REGISTRY_PORT" -if [ $? -ne 0 ]; then - exit 1 -fi - -chmod a+x init-kube.sh -bash init-kube.sh -if [ $? -ne 0 ]; then - exit 1 -fi