From d2fa21c49f262d4323a741c6b5f5686935792424 Mon Sep 17 00:00:00 2001 From: lixiaoyuner <35456895+lixiaoyuner@users.noreply.github.com> Date: Wed, 2 Nov 2022 17:25:35 +0800 Subject: [PATCH] Disable "tag as local" when reboot (#2451) * Disable "tag as local" when reboot * Change INSECURE flag from False to True Signed-off-by: Yun Li --- config/kube.py | 2 +- scripts/reboot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/kube.py b/config/kube.py index a2dbeeffb6..706a5ab260 100644 --- a/config/kube.py +++ b/config/kube.py @@ -25,7 +25,7 @@ def _update_kube_server(db, field, val): def_data = { KUBE_SERVER_IP: "", KUBE_SERVER_PORT: "6443", - KUBE_SERVER_INSECURE: "False", + KUBE_SERVER_INSECURE: "True", KUBE_SERVER_DISABLE: "False" } for f in def_data: diff --git a/scripts/reboot b/scripts/reboot index 21be3427ed..7d30c05bda 100755 --- a/scripts/reboot +++ b/scripts/reboot @@ -33,7 +33,7 @@ EXIT_PLATFORM_FW_AU_FAILURE=22 PLATFORM_FWUTIL_AU_REBOOT_HANDLE="platform_fw_au_reboot_handle" REBOOT_SCRIPT_NAME=$(basename $0) REBOOT_TYPE="${REBOOT_SCRIPT_NAME}" -TAG_LATEST=yes +TAG_LATEST=no function debug() {