summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-10-16 13:55:35 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-10-16 13:55:35 +0200
commitb692c64717732a1b7b0910a48d9cbd3dfdb33bcd (patch)
tree4347c67b512ee047261e428cf03a4eab596b47ea
parent245d6f05d6e74ea3ea5c2bc4a6fa73cc64dba4c5 (diff)
Remove reference to $aicSiteId variable
This variable is nowhere initialized so removing it. Change-Id: Ie0321c45e9c77e312db5a5d3233dbd57541e2ca4 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: SDNC-946 Former-commit-id: 139e34221c22e4c47108c2b69389663569d994b8
-rwxr-xr-xinstallation/sdnc/src/main/scripts/addIpAddresses.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installation/sdnc/src/main/scripts/addIpAddresses.sh b/installation/sdnc/src/main/scripts/addIpAddresses.sh
index 7c088a91..6b9af4df 100755
--- a/installation/sdnc/src/main/scripts/addIpAddresses.sh
+++ b/installation/sdnc/src/main/scripts/addIpAddresses.sh
@@ -12,7 +12,7 @@ start=$3
if [ $# -eq 3 ]
then
mysql --user=${MYSQL_USER} --password=${MYSQL_PWD} --host=${MYSQL_HOST} ${MYSQL_DB} <<EOF
-INSERT INTO IPV4_ADDRESS_POOL VALUES('$aicSiteId', '$universe', 'AVAILABLE', '${subnet}.${start}');
+INSERT INTO IPV4_ADDRESS_POOL VALUES('', '$universe', 'AVAILABLE', '${subnet}.${start}');
EOF
elif [ $# -eq 4 ]
then
@@ -22,7 +22,7 @@ then
while [ $ip -le $stop ]
do
mysql --user=${MYSQL_USER} --password=${MYSQL_PWD} --host=${MYSQL_HOST} ${MYSQL_DB} <<EOF
-INSERT INTO IPV4_ADDRESS_POOL VALUES('$aicSiteId', '$universe', 'AVAILABLE','${subnet}.${ip}');
+INSERT INTO IPV4_ADDRESS_POOL VALUES('', '$universe', 'AVAILABLE','${subnet}.${ip}');
EOF
ip=$(( ip+1 ))
done