Commit f166e33e authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Update database to allow a no-usb-boot osfeature

parent b7b18b03
......@@ -2904,7 +2904,7 @@ CREATE TABLE `os_info` (
`path` tinytext,
`magic` tinytext,
`machinetype` varchar(30) NOT NULL default '',
`osfeatures` set('ping','ssh','ipod','isup','veths','veth-ne','veth-en','mlinks','linktest','linkdelays','vlans','suboses','ontrustedboot') default NULL,
`osfeatures` set('ping','ssh','ipod','isup','veths','veth-ne','veth-en','mlinks','linktest','linkdelays','vlans','suboses','ontrustedboot','no-usb-boot') default NULL,
`ezid` tinyint(4) NOT NULL default '0',
`shared` tinyint(4) NOT NULL default '0',
`mustclean` tinyint(4) NOT NULL default '1',
# Add no-usb-boot as a possible osfeature.
use strict;
use libdb;
my $impotent = 0;
sub DoUpdate($$$)
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("alter table os_info modify ".
" `osfeatures` set('ping','ssh','ipod','isup','veths','veth-ne','veth-en','mlinks','linktest','linkdelays','vlans','suboses','ontrustedboot','no-usb-boot') default NULL");
return 0;
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