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
2727d33b
Commit
2727d33b
authored
Jul 07, 2004
by
Leigh B. Stoller
Browse files
Remove hardwired pcvm --> isjailed, and use new node_types table slot.
parent
dfb25e60
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/Node.pm.in
View file @
2727d33b
...
...
@@ -213,12 +213,7 @@ sub CreateVnodes($$)
return -1;
}
my $isremote = $vtype_rowref->{"isremotenode"};
#
# Currently, only local pcvm nodes are jailed and get a jailip.
# This little tidbit needs to go into the node_types table.
#
my $isjailed = (!$isremote && $vtype eq "pcvm" ? 1 : 0);
my $isjailed = $vtype_rowref->{"isjailed"};
#
# Make up a priority (just used for sorting). We need the name prefix
...
...
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