blob: 66fb71d312b28880fa170777c5764d9887f2f118 (
plain)
1
2
3
4
5
6
7
|
#!/bin/bash
set -ex
sudo apt-get update
sudo apt-get install -y openvswitch-switch-dpdk linux-image-extra-4.4.0-75-generic
sudo update-alternatives --set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk
echo "DPDK_OPTS='--dpdk -c 0x1 -n 4 -m 1024'" | sudo tee -a /etc/default/openvswitch-switch
|