summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-20 13:34:33 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-20 13:34:33 +0800
commit9e0dd77d83a83bb408988398f219b83193ea1812 (patch)
treef426f270c6b4eb37f5a57b0b68c7c4fbc9a63a9a
parenta33e556087b77ed8c916e4b9a3a2f60de92dae82 (diff)
Change vfc-nfvo-lcm listen ip to 0.0.0.0
Change-Id: I88c2754d40e7222a220496d1421a23955e33e32d Issue-Id: VFC-394 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rwxr-xr-xrun.sh3
-rwxr-xr-xstop.sh3
2 files changed, 2 insertions, 4 deletions
diff --git a/run.sh b/run.sh
index e94f1bba..aebe4055 100755
--- a/run.sh
+++ b/run.sh
@@ -12,5 +12,4 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-sip=127.0.0.1
-nohup python manage.py runserver $sip:8403 > /dev/null &
+nohup python manage.py runserver 0.0.0.0:8403 > /dev/null &
diff --git a/stop.sh b/stop.sh
index 5674b463..09aed90b 100755
--- a/stop.sh
+++ b/stop.sh
@@ -12,5 +12,4 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-sip=127.0.0.1
-ps auxww | grep "manage.py runserver $sip:8403" | awk '{print $2}' | xargs kill -9
+ps auxww | grep "manage.py runserver 0.0.0.0:8403" | awk '{print $2}' | xargs kill -9