From 8c14acc04ae233d952860132d9fe61d68272f0a5 Mon Sep 17 00:00:00 2001 From: BianTanggui Date: Mon, 20 Feb 2023 10:39:40 +0800 Subject: [PATCH] Match-id-de738d3dd39ac2980d55310ebd94554258329573 --- build/scripts/run_main.sh | 6 +++--- build/scripts/uninstall.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/scripts/run_main.sh b/build/scripts/run_main.sh index d863f0b..87025d1 100644 --- a/build/scripts/run_main.sh +++ b/build/scripts/run_main.sh @@ -190,7 +190,7 @@ a500=n a200=n a200isoc=n quiet_flag=n -ISULA=n +ISULA=none while true do @@ -237,14 +237,14 @@ do shift ;; --ce=*) - if [ "${ISULA}" == "y" ]; then + if [ "${ISULA}" == "isula" ]; then echo "warning: Repeat parameter!" exit 1 fi if [ "$3" == "--ce=isula" ]; then DOCKER_CONFIG_DIR="/etc/isulad" - ISULA=y + ISULA=isula else echo "ERROR :Please check the parameter of --ce=" exit 1 diff --git a/build/scripts/uninstall.sh b/build/scripts/uninstall.sh index 2aa506d..058f1c6 100644 --- a/build/scripts/uninstall.sh +++ b/build/scripts/uninstall.sh @@ -20,7 +20,7 @@ LOG_FILE="/var/log/ascend-docker-runtime/installer.log" echo "Ascend-Docker-Runtime" $(date +%Y%m%d-%H:%M:%S) "start uninstall" echo "Ascend-Docker-Runtime" $(date +%Y%m%d-%H:%M:%S) "start uninstall" >>${LOG_FILE} ROOT=$(cd $(dirname $0); pwd)/.. -if [ "$*" == "y" ] ; then +if [ "$*" == "isula" ] ; then DST='/etc/isulad/daemon.json' echo "[INFO]: You will recover iSula's daemon" else -- Gitee