Commit 985af3c5 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add "jailflag" to nodes table. In the parent (phys) node, it means the

node supports and is doing jails. In the virtual node, it means it is
a jailed node. It should be obvious that these are set the same for a
node; it means I do not have to query two nodes to find out what to
do. When set, the parent gets a different set of accounts and mounts,
and we hand out accounts to the jailed node.
parent 03d45851
......@@ -566,6 +566,7 @@ CREATE TABLE nodes (
ntpdrift float default NULL,
ipport_low int(11) NOT NULL default '11000',
ipport_high int(11) NOT NULL default '20000',
jailflag tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (node_id)
Supports Markdown
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