Change vfc-svnfm-drv listen ip to 0.0.0.0 99/14399/1
authorfujinhua <fu.jinhua@zte.com.cn>
Fri, 22 Sep 2017 01:59:11 +0000 (09:59 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Fri, 22 Sep 2017 01:59:11 +0000 (09:59 +0800)
Change-Id: I1595f379c46c4da8aa61f0082b8165725791c2c3
Issue-Id: VFC-416
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
zte/vmanager/run.sh
zte/vmanager/stop.sh

index 4ed4445..111e9fc 100755 (executable)
@@ -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:8410 > /dev/null &
+nohup python manage.py runserver 0.0.0.0:8410 > /dev/null &
index a4f5c8a..8848e16 100755 (executable)
@@ -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:8410" | awk '{print $2}' | xargs kill -9
+ps auxww | grep "manage.py runserver 0.0.0.0:8410" | awk '{print $2}' | xargs kill -9