summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-06-20 06:31:36 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-06-20 06:31:36 +0000
commit44f6ab71b61756b04eae25fe1e93cb502f4e1f84 (patch)
treecf4e02a346ea610c38d5db5f379aeaa820d13fb4
parent1a1ed339b96458c483976a820e30b3a1bbb0b5d8 (diff)
parent6e87d88c6ff47664b399b30e250c2529a3f8f792 (diff)
Merge "set install nic as promiscuous model"
-rwxr-xr-xdeploy/network.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/network.sh b/deploy/network.sh
index 18526284..b74a1b40 100755
--- a/deploy/network.sh
+++ b/deploy/network.sh
@@ -147,6 +147,7 @@ function setup_baremetal_net() {
exit 1
fi
sudo ifconfig $INSTALL_NIC up
+ sudo ifconfig $INSTALL_NIC promisc
sudo ifconfig $INSTALL_NIC $INSTALL_GW netmask $INSTALL_NETMASK
}