Upgrade networkx on Ubuntu 10.04 LTS to avoid deprecation warning.
This commit is contained in:
@@ -84,6 +84,11 @@ function mn_deps {
|
||||
sudo aptitude install -y gcc make screen psmisc xterm ssh iperf iproute \
|
||||
python-setuptools python-networkx
|
||||
|
||||
if [ "$DIST" = "Ubuntu" ] && grep '10.04' /etc/*release*; then
|
||||
echo "Upgrading networkx to avoid deprecation warning"
|
||||
sudo easy_install --upgrade networkx
|
||||
fi
|
||||
|
||||
#Add sysctl parameters as noted in the INSTALL file to increase kernel limits to support larger setups:
|
||||
sudo su -c "cat $HOME/mininet/util/sysctl_addon >> /etc/sysctl.conf"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user