summaryrefslogtreecommitdiffstats
path: root/deploy/network.sh
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2018-06-19 11:48:16 +0800
committerwutianwei <wutianwei1@huawei.com>2018-06-19 11:48:16 +0800
commit6e87d88c6ff47664b399b30e250c2529a3f8f792 (patch)
treedcd731f6078a15ebaad0fe9221fa51d1badb0ffa /deploy/network.sh
parentda8ccfe3c89726673ff6c3d2a967fd670d40b6fd (diff)
set install nic as promiscuous model
JIRA: COMPASS-601 Change-Id: I7dd64df7e07ae65290a9478ff59db6392702c422 Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'deploy/network.sh')
-rwxr-xr-xdeploy/network.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/network.sh b/deploy/network.sh
index ebe0eece..05199f3f 100755
--- a/deploy/network.sh
+++ b/deploy/network.sh
@@ -143,6 +143,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
}