Commit e6bd0480 authored by David Johnson's avatar David Johnson
Browse files

Add a docker-host osfeature.

parent 9a4eb5dc
...@@ -3811,7 +3811,7 @@ CREATE TABLE `os_info_versions` ( ...@@ -3811,7 +3811,7 @@ CREATE TABLE `os_info_versions` (
`path` tinytext, `path` tinytext,
`magic` tinytext, `magic` tinytext,
`machinetype` varchar(30) NOT NULL default '', `machinetype` varchar(30) NOT NULL default '',
`osfeatures` set('ping','ssh','ipod','isup','veths','veth-ne','veth-en','mlinks','linktest','linkdelays','vlans','suboses','ontrustedboot','no-usb-boot','egre','loc-bstore','rem-bstore','openvz-host','xen-host') default NULL, `osfeatures` set('ping','ssh','ipod','isup','veths','veth-ne','veth-en','mlinks','linktest','linkdelays','vlans','suboses','ontrustedboot','no-usb-boot','egre','loc-bstore','rem-bstore','openvz-host','xen-host','docker-host') default NULL,
`ezid` tinyint(4) NOT NULL default '0', `ezid` tinyint(4) NOT NULL default '0',
`shared` tinyint(4) NOT NULL default '0', `shared` tinyint(4) NOT NULL default '0',
`mustclean` tinyint(4) NOT NULL default '1', `mustclean` tinyint(4) NOT NULL default '1',
......
#
# Add docker-host osfeature.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("alter table os_info_versions modify ".
" `osfeatures` set('ping','ssh','ipod','isup','veths','veth-ne','veth-en','mlinks','linktest','linkdelays','vlans','suboses','ontrustedboot','no-usb-boot','egre','loc-bstore','rem-bstore','openvz-host','xen-host','docker-host') default NULL");
return 0;
}
1;
# Local Variables:
# mode:perl
# End:
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