All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

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

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
thought.
parent 73bef191
......@@ -20,6 +20,24 @@ sub Install($$$)
if ($isupdate);
Phase "IDs", "Setting up Images and OSs", sub {
if ($PROTOGENI_GENIRACK) {
#
# 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 ".
" $WAP $CREATENODE $NODETYPEXML");
};
}
#
# Load up the initial descriptors.
# Load up the images from boss.
......
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