Commit 4576b4da authored by Leigh Stoller's avatar Leigh Stoller

Add modelnet OSIDs to node_types table so we know what image to load

when doing modelnet. Sure wish we had a better way to do this!
parent 731a3463
...@@ -877,6 +877,8 @@ CREATE TABLE node_types ( ...@@ -877,6 +877,8 @@ CREATE TABLE node_types (
bootdisk_unit tinyint(3) unsigned NOT NULL default '0', bootdisk_unit tinyint(3) unsigned NOT NULL default '0',
delay_osid varchar(35) default NULL, delay_osid varchar(35) default NULL,
jail_osid varchar(35) default NULL, jail_osid varchar(35) default NULL,
modelnetcore_osid varchar(35) default NULL,
modelnetedge_osid varchar(35) default NULL,
pxe_boot_path text, pxe_boot_path text,
isvirtnode tinyint(4) NOT NULL default '0', isvirtnode tinyint(4) NOT NULL default '0',
ismodelnet tinyint(1) NOT NULL default '0', ismodelnet tinyint(1) NOT NULL default '0',
......
...@@ -1713,3 +1713,10 @@ last_net_act,last_cpu_act,last_ext_act); ...@@ -1713,3 +1713,10 @@ last_net_act,last_cpu_act,last_ext_act);
1.258: Minor whitespace change in database-create.txt to make 1.258: Minor whitespace change in database-create.txt to make
schemacheck happy. schemacheck happy.
1.259: Add modelnet OSIDs to node_types table so we know what image to load
when doing modelnet. Sure wish we had a better way to do this!
alter table node_types add modelnetcore_osid varchar(35) \
default NULL after jail_osid;
alter table node_types add modelnetedge_osid varchar(35)
default NULL after modelnetcore_osid;
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