Remove hard-wired /home/mininet directory.
This commit is contained in:
+2
-2
@@ -69,7 +69,7 @@ function mn_deps {
|
|||||||
sudo apt-get install -y screen psmisc xterm ssh iperf iproute python-setuptools
|
sudo apt-get install -y screen psmisc xterm ssh iperf iproute python-setuptools
|
||||||
|
|
||||||
#Add sysctl parameters as noted in the INSTALL file to increase kernel limits to support larger setups:
|
#Add sysctl parameters as noted in the INSTALL file to increase kernel limits to support larger setups:
|
||||||
sudo su -c "cat /home/mininet/mininet/util/sysctl_addon >> /etc/sysctl.conf"
|
sudo su -c "cat $HOME/mininet/util/sysctl_addon >> /etc/sysctl.conf"
|
||||||
|
|
||||||
#Load new sysctl settings:
|
#Load new sysctl settings:
|
||||||
sudo sysctl -p
|
sudo sysctl -p
|
||||||
@@ -194,7 +194,7 @@ function cbench {
|
|||||||
git clone git://www.openflow.org/oflops.git
|
git clone git://www.openflow.org/oflops.git
|
||||||
cd oflops
|
cd oflops
|
||||||
sh boot.sh
|
sh boot.sh
|
||||||
./configure --with-openflow-src-dir=/home/mininet/openflow
|
./configure --with-openflow-src-dir=$HOME/openflow
|
||||||
make
|
make
|
||||||
sudo make install || true # make install fails; force past this
|
sudo make install || true # make install fails; force past this
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user