From b4bb1929aeb259be335d3d760e6a5681c32358b3 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Wed, 28 Jan 2015 14:01:38 +0100 Subject: [PATCH] MT#9695 Add boot options ngcpnomysqlrepl for PRO reinstall The option helps opt guys to reinstall failed PRO node. Change-Id: Ifa4cec322262edde4adb511fa4efe35ce96fb59c --- deployment.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deployment.sh b/deployment.sh index 217363b..aba2d64 100755 --- a/deployment.sh +++ b/deployment.sh @@ -62,6 +62,7 @@ SYSTEMD=false DEBIAN_REPO_HOST="debian.sipwise.com" SIPWISE_REPO_HOST="deb.sipwise.com" SIPWISE_REPO_TRANSPORT="http" +DPL_MYSQL_REPLICATION=true # if TARGET_DISK environment variable is set accept it if [ -n "$TARGET_DISK" ] ; then @@ -531,6 +532,10 @@ fi if checkBootParam sipwiserepo ; then SIPWISE_REPO_HOST=$(getBootParam sipwiserepo) fi + +if checkBootParam ngcpnomysqlrepl ; then + DPL_MYSQL_REPLICATION=false +fi ## }}} ## interactive mode {{{ @@ -560,6 +565,7 @@ Control installation parameters: ngcpinstvers=... - use specific NGCP installer version debianrepo=... - hostname of Debian APT repository mirror sipwiserepo=... - hostname of Sipwise APT repository mirror + ngcpnomysqlrepl - skip MySQL sp1<->sp2 replication configuration/check Control target system: @@ -1444,6 +1450,7 @@ IP2="${IP2}" EIFACE="${EIFACE}" EADDR="${EADDR}" MCASTADDR="${MCASTADDR}" +DPL_MYSQL_REPLICATION="${DPL_MYSQL_REPLICATION}" EOF fi