git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43a9f8
)
use 10.201.x.y as the prefix for test vservers when their IP address is not specified
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Wed, 9 Jan 2008 22:47:56 +0000
(22:47 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Wed, 9 Jan 2008 22:47:56 +0000
(22:47 +0000)
vtest-nightly.sh
patch
|
blob
|
history
diff --git
a/vtest-nightly.sh
b/vtest-nightly.sh
index
509c72e
..
1dabbf3
100644
(file)
--- a/
vtest-nightly.sh
+++ b/
vtest-nightly.sh
@@
-182,7
+182,7
@@
function main () {
if [ -z "${TESTVSERVER_IP}" ] ; then
xid=$(cat /etc/vservers/${BASE}/context)
class_a=10
- class_b=2
54
+ class_b=2
01
TESTVSERVER_IP=$(python -c "context=int($xid); print '%d.%d.%d.%d' % ($class_a,$class_b,(context&0xff00)>>8,context&0xff)")
fi
echo "${TESTVSERVER_IP}" > /etc/vservers/${BASE}/interfaces/0/ip