From d3d0321ab3a1c0a93ea8da062f97d6b8f28892f8 Mon Sep 17 00:00:00 2001 From: Colin Patrick Mccabe Date: Tue, 27 May 2014 23:06:32 -0700 Subject: [PATCH] vm-common.sh: use full path to sysctl Signed-off-by: Colin McCabe --- vm-common.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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=$@ -- 1.6.6.rc1.39.g9a42