Commit 93f057a1 authored by Leigh Stoller's avatar Leigh Stoller

Import image descriptors that are hosted someplace else.

parent be22c8c3
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2011 University of Utah and the Flux Group.
# Copyright (c) 2000-2012 University of Utah and the Flux Group.
# All rights reserved.
#
use strict;
......@@ -41,6 +41,7 @@ my $batchexp = "$TBROOT/bin/batchexp";
my $template = "$TBROOT/lib/ns2ir/elabinelab.ns";
my $endexp = "$TBROOT/bin/endexp";
my $dbcontrol= "$TBROOT/sbin/opsdb_control";
my $IMAGESETUP= "$TBROOT/sbin/image_setup";
# Untaint the path
$ENV{'PATH'} = "/usr/bin:/bin:$TBROOT/libexec:$TBROOT/libexec/ns2ir" .
......@@ -347,6 +348,14 @@ if (!$experiment->elabinelab()) {
}
}
#
# Load up external image references.
#
system("$IMAGESETUP $pid,$eid");
if ($?) {
fatal("Could not setup external image references");
}
#
# Do an assign_prerun to set the min/max nodes. Generates a top file too.
# This is the only DB state that is modified during a top only run.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment