Commit 42a25aa8 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Some stuff for geniracks; add the static hardware type so that we can

mark the images to run on them. Not a great way to do this; needs more
parent 73bef191
......@@ -20,6 +20,24 @@ sub Install($$$)
if ($isupdate);
Phase "IDs", "Setting up Images and OSs", sub {
# Load up the nodetype. It will be the same on every machine,
# and if we do it before loading the descriptors, then we
# do not have to go back and change the type mappings.
my $NODETYPE = "dl360";
my $CREATETYPE = "$PREFIX/bin/editnodetype";
Phase "nodetype", "Creating Protogeni nodetype", sub {
my $nodetype = NodeType->Lookup($NODETYPE);
PhaseSkip("already created")
if (defined($NODETYPE));
ExecQuietFatal("$SUDO -u $PROTOUSER ".
# Load up the initial descriptors.
# Load up the images from boss.
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