From: Marc Fiuczynski Date: Wed, 23 Jan 2008 22:03:18 +0000 (+0000) Subject: create the directory for the vserver interface information X-Git-Tag: 4.2-rc2~246 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e139e40774327fc10ec5cb2481bf32334448c159;p=build.git create the directory for the vserver interface information --- diff --git a/vtest-nightly.sh b/vtest-nightly.sh index b723548d..16600562 100644 --- 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 + 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