create the directory for the vserver interface information
authorMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 23 Jan 2008 22:03:18 +0000 (22:03 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 23 Jan 2008 22:03:18 +0000 (22:03 +0000)
vtest-nightly.sh

index b723548..1660056 100644 (file)
@@ -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