Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
f166e33e
Commit
f166e33e
authored
Aug 16, 2012
by
Jonathon Duerig
Browse files
Update database to allow a no-usb-boot osfeature
parent
b7b18b03
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
f166e33e
...
...
@@ -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'
,
...
...
sql/updates/4/305
0 → 100644
View file @
f166e33e
#
# 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;
}
1;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment