From: Marc Fiuczynski Date: Wed, 9 Jan 2008 22:47:56 +0000 (+0000) Subject: use 10.201.x.y as the prefix for test vservers when their IP address is not specified X-Git-Tag: 4.2-rc2~282 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=749a0a74a56b01a35096efec0dea36f95ddf9299;p=build.git use 10.201.x.y as the prefix for test vservers when their IP address is not specified --- diff --git a/vtest-nightly.sh b/vtest-nightly.sh index 509c72e1..1dabbf3e 100644 --- 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=254 + class_b=201 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