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:
592514b
)
create the directory for the vserver interface information
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Wed, 23 Jan 2008 22:03:18 +0000
(22:03 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Wed, 23 Jan 2008 22:03:18 +0000
(22:03 +0000)
vtest-nightly.sh
patch
|
blob
|
history
diff --git
a/vtest-nightly.sh
b/vtest-nightly.sh
index
b723548
..
1660056
100644
(file)
--- a/
vtest-nightly.sh
+++ b/
vtest-nightly.sh
@@
-185,6
+185,7
@@
function main () {
class_b=1
TESTVSERVER_IP=$(python -c "context=int($xid); print '%d.%d.%d.%d' % ($class_a,$class_b,(context&0xff00)>>8,context&0xff)")
fi
class_b=1
TESTVSERVER_IP=$(python -c "context=int($xid); print '%d.%d.%d.%d' % ($class_a,$class_b,(context&0xff00)>>8,context&0xff)")
fi
+ mkdir -p /etc/vservers/${BASE}/interfaces/0
echo "${TESTVSERVER_IP}" > /etc/vservers/${BASE}/interfaces/0/ip
echo "${TESTVSERVER_DEV}" > /etc/vservers/${BASE}/interfaces/0/dev
vserver ${BASE} start
echo "${TESTVSERVER_IP}" > /etc/vservers/${BASE}/interfaces/0/ip
echo "${TESTVSERVER_DEV}" > /etc/vservers/${BASE}/interfaces/0/dev
vserver ${BASE} start