Commit 3d3d4980 authored by Mac Newbold's avatar Mac Newbold
Browse files

Add an 'osid' field to the nodes table. This will store the currently running...

Add an 'osid' field to the nodes table. This will store the currently running OS. The only time it gets updated is by (the new) stated when the node goes into the BOOTING state (sent by the new proxydhcp when a node asks for its info.) Without this, we have no way of knowing what OS we told the node to boot last time it came up.
parent 29dbe766
......@@ -562,6 +562,7 @@ CREATE TABLE nodes (
update_accounts smallint(6) default '0',
next_op_mode varchar(20) default NULL,
ipodhash varchar(64) default NULL,
osid varchar(35) NOT NULL default '',
PRIMARY KEY (node_id)
) TYPE=MyISAM;
......
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