Revision 37e1eafd util/install.sh

View differences:

util/install.sh
35 35

  
36 36
DRIVERS_DIR=/lib/modules/${KERNEL_NAME}/kernel/drivers/net
37 37

  
38
#OVS_RELEASE=openvswitch-1.0.1
39
OVS_RELEASE=openvswitch # release 1.0.1 doesn't work with veth pairs.
40
OVS_DIR=~/$OVS_RELEASE
38
OVS_RELEASE=v1.1.1
39
OVS_DIR=~/openvswitch
41 40
OVS_KMOD=openvswitch_mod.ko
42 41

  
43 42
function kernel {
......
161 160
	#Install OVS from release
162 161
	cd ~/
163 162
	git clone git://openvswitch.org/openvswitch
164
	cd $OVS_RELEASE
163
	cd $OVS_DIR
164
    git checkout $OVS_RELEASE
165 165
	./boot.sh
166 166
    BUILDDIR=/lib/modules/${KERNEL_NAME}/build
167 167
    if [ ! -e $BUILDDIR ]; then

Also available in: Unified diff