From 25a347635459322e2ceb3f813fbf35580e2bf981 Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Mon, 13 May 2019 16:42:47 +0300 Subject: [PATCH] TT#56154 Add variable DEPLOYMENT_SH This variable tells ngcp-installer that it is run from deployment.sh. In this case we need it to skip CE warning in ngcp-installer: =================== This installation script is not intended to run in a shared system, as it can add/delete/update existing configurations. Please run this script only in a base install of 64 bit Debian 9 (stretch) on a dedicated server. Do you want to continue with the installation process? (y/N): =================== Change-Id: I9a33ccbe07332a09a64c98a2bef844fa95498c05 (cherry picked from commit 6ee182161f3c1905b1db2dc0fac0762f41affc16) --- templates/scripts/includes/deployment.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/scripts/includes/deployment.sh b/templates/scripts/includes/deployment.sh index 64a4f88..9185ae0 100755 --- a/templates/scripts/includes/deployment.sh +++ b/templates/scripts/includes/deployment.sh @@ -1723,6 +1723,7 @@ ORIGIN_INSTALL_DEV="${INSTALL_DEV}" FALLBACKFS_SIZE="${FALLBACKFS_SIZE}" ROOTFS_SIZE="${ROOTFS_SIZE}" SWAPFILE_SIZE_MB="${SWAPFILE_SIZE_MB}" +DEPLOYMENT_SH=true EOF if "${TRUNK_VERSION}" && checkBootParam ngcpupload ; then