Commit b84da3db authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix to image version support.

parent 160402ea
......@@ -2949,13 +2949,13 @@ CREATE TABLE `nodes` (
`role` enum('testnode','virtnode','ctrlnode','testswitch','ctrlswitch','powerctrl','widearea_switch','unused') NOT NULL default 'unused',
`inception` datetime default NULL,
`def_boot_osid` int(8) unsigned default NULL,
`def_boot_osid_vers` int(8) unsigned default NULL,
`def_boot_osid_vers` int(8) unsigned default '0',
`def_boot_path` text,
`def_boot_cmd_line` text,
`temp_boot_osid` int(8) unsigned default NULL,
`temp_boot_osid_vers` int(8) unsigned default NULL,
`temp_boot_osid_vers` int(8) unsigned default '0',
`next_boot_osid` int(8) unsigned default NULL,
`next_boot_osid_vers` int(8) unsigned default NULL,
`next_boot_osid_vers` int(8) unsigned default '0',
`next_boot_path` text,
`next_boot_cmd_line` text,
`pxe_boot_path` text,
......
......@@ -67,6 +67,7 @@ sub DoUpdate($$$)
DBQueryFatal("replace into emulab_indicies ".
"select 'next_profile',max(profileid)+1 ".
" from apt_profiles");
DBQueryFatal("drop table apt_profiles_old");
}
return 0;
}
......
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