diff options
author | Dan Timoney <dtimoney@att.com> | 2019-10-31 19:22:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-10-31 19:22:11 +0000 |
commit | f0ca47d2f31186d0fde60e6ff96ee468cc8dbef5 (patch) | |
tree | ba5cdf578ea8d66708885b8ec423cd1189647a4f /installation | |
parent | ee97de2b5676a1d616cc92c421ac5defc239a114 (diff) | |
parent | b692c64717732a1b7b0910a48d9cbd3dfdb33bcd (diff) |
Merge "Remove reference to $aicSiteId variable"
Former-commit-id: b6b8c365120e9f5e8bf3105a9acc6e2e38b2f57c
Diffstat (limited to 'installation')
-rwxr-xr-x | installation/sdnc/src/main/scripts/addIpAddresses.sh | 4 |
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 |