From: Colin Patrick Mccabe Date: Wed, 28 May 2014 06:06:32 +0000 (-0700) Subject: vm-common.sh: use full path to sysctl X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3d0321ab3a1c0a93ea8da062f97d6b8f28892f8;p=cmccabe-bin vm-common.sh: use full path to sysctl Signed-off-by: Colin McCabe --- diff --git a/vm-common.sh b/vm-common.sh index ba0f77a..9f8bbef 100644 --- a/vm-common.sh +++ b/vm-common.sh @@ -4,7 +4,7 @@ die() { } run_vm() { - sysctl -w net.ipv4.ip_forward=1 || die "failed to enable ip_forward" + /usr/sbin/sysctl -w net.ipv4.ip_forward=1 || die "failed to enable ip_forward" ID=$1 shift NARGS=$@