
* For consistency with other packages, LBaaS-interface package and HAProxy-based-LBaaS are moved to 'package' folder Change-Id: I577f4c669a9c96b1c36f4a93bae14dc323e51d78
9 lines
164 B
Bash
9 lines
164 B
Bash
#!/bin/bash
|
|
|
|
section=$1
|
|
key=$2
|
|
value=$3
|
|
|
|
# Set value in lbaas config file.
|
|
sudo sed -i "/^\[$section\]$/,/^\[/ s/^#*$key.*=.*/$key = $value/" /etc/lbaas/lbaas.conf
|