Skip to content

Commit

Permalink
use easy_install -U pip to upgrade pip. For some reason, pip install …
Browse files Browse the repository at this point in the history
…--upgrade pip fails to install packages before reboot
  • Loading branch information
jhpoelen committed May 4, 2018
1 parent 9eb8c7f commit f74e8a2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion create_exitnode.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

set -x
set -e

IP=$1
GATEWAY_IP=$2

Expand Down Expand Up @@ -89,7 +92,8 @@ do
modprobe $module
done

pip install --upgrade pip
# see https://askubuntu.com/questions/561377/pip-wont-run-throws-errors-instead
easy_install -U pip

pip install netfilter
pip install virtualenv
Expand Down

0 comments on commit f74e8a2

Please sign in to comment.