projects
/
cmccabe-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
489d488
)
vm-common.sh: enable ip forwarding just in case
author
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Wed, 20 Jun 2012 00:52:40 +0000 (17:52 -0700)
committer
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Wed, 20 Jun 2012 00:52:40 +0000 (17:52 -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
d702b80
..
2c57b05
100644
(file)
--- a/
vm-common.sh
+++ b/
vm-common.sh
@@
-4,6
+4,7
@@
die() {
}
run_vm() {
+ sysctl -w net.ipv4.ip_forward=1 || die "failed to enable ip_forward"
ID=$1
shift
NARGS=$@