Commit 2727d33b authored by Leigh B. Stoller's avatar Leigh B. Stoller

Remove hardwired pcvm --> isjailed, and use new node_types table slot.

parent dfb25e60
......@@ -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
......
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