Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
7cbc2cfc
Commit
7cbc2cfc
authored
Mar 06, 2009
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When creating vnodes, make sure there is a new uuid for each one.
parent
cb96f568
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
db/Node.pm.in
db/Node.pm.in
+6
-6
No files found.
db/Node.pm.in
View file @
7cbc2cfc
...
...
@@ -1398,12 +1398,6 @@ sub CreateVnodes($$)
return -1;
}
my $uuid = NewUUID();
if (!defined($uuid)) {
print STDERR "Could not generate a UUID!\n";
next NODE;
}
#
# Assign however many we are told to (typically by assign). Locally
# this is not a problem since nodes are not shared; assign always
...
...
@@ -1477,6 +1471,12 @@ sub CreateVnodes($$)
}
my $jailip = "${IPBASE1}.${pnet}.${pnode2}.${i}";
my $uuid = NewUUID();
if (!defined($uuid)) {
print STDERR "Could not generate a UUID!\n";
goto bad;
}
if ($verbose) {
print STDERR "Jail IP for $vnodeid is $jailip\n";
if ($impotent) {
...
...
Write
Preview
Markdown
is supported
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