Commit 58514c0d authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fixes to genirack clause.

parent bc26fb15
......@@ -21,6 +21,8 @@ sub Install($$$)
Phase "IDs", "Setting up Images and OSs", sub {
require NodeType;
# Load up the nodetype. It will be the same on every machine,
# and if we do it before loading the descriptors, then we
......@@ -28,13 +30,14 @@ sub Install($$$)
my $NODETYPE = "dl360";
my $CREATETYPE = "$PREFIX/bin/editnodetype";
my $NODETYPEXML = "$TOP_SRCDIR/install/genirack-nodetype.xml";
Phase "nodetype", "Creating Protogeni nodetype", sub {
my $nodetype = NodeType->Lookup($NODETYPE);
PhaseSkip("already created")
if (defined($NODETYPE));
ExecQuietFatal("$SUDO -u $PROTOUSER ".
Supports Markdown
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