projects
/
cmccabe-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7c32ed0
)
vm-common.sh: use full path to sysctl
author
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Wed, 28 May 2014 06:06:32 +0000 (23:06 -0700)
committer
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Wed, 28 May 2014 06:06:49 +0000 (23:06 -0700)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
vm-common.sh
patch
|
blob
|
history
diff --git
a/vm-common.sh
b/vm-common.sh
index
ba0f77a
..
9f8bbef
100644
(file)
--- 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=$@