Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
58514c0d
Commit
58514c0d
authored
Mar 30, 2012
by
Leigh B Stoller
Browse files
Minor fixes to genirack clause.
parent
bc26fb15
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/phases/boss/images
View file @
58514c0d
...
...
@@ -21,6 +21,8 @@ sub Install($$$)
Phase "IDs", "Setting up Images and OSs", sub {
if ($PROTOGENI_GENIRACK) {
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 ".
" $WAP $CREATE
NOD
E $NODETYPEXML");
" $WAP $CREATE
TYP
E $NODETYPEXML");
};
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment