Skip to content
GitLab
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
ea62327b
Commit
ea62327b
authored
Aug 09, 2006
by
Leigh B. Stoller
Browse files
Make sure that rebootable flags gets set properly on all node types.
parent
7641475f
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/init_nodeattrs.pl
View file @
ea62327b
...
...
@@ -33,6 +33,8 @@ while (my $rowref = $query_result->fetchrow_hashref()) {
AddAttr
(
$type
,
"
default_osid
",
"
string
",
$rowref
->
{'
osid
'})
if
(
defined
(
$rowref
->
{'
osid
'})
&&
$rowref
->
{'
osid
'}
ne
"");
AddAttr
(
$type
,
"
rebootable
",
"
boolean
",
$rowref
->
{'
isrebootable
'})
if
(
defined
(
$rowref
->
{'
isrebootable
'}));
next
if
(
$rowref
->
{'
isvirtnode
'}
||
...
...
@@ -88,8 +90,6 @@ while (my $rowref = $query_result->fetchrow_hashref()) {
AddAttr
(
$type
,
"
trivlink_maxspeed
",
"
integer
",
$rowref
->
{'
trivlink_maxspeed
'})
if
(
defined
(
$rowref
->
{'
trivlink_maxspeed
'}));
AddAttr
(
$type
,
"
rebootable
",
"
boolean
",
$rowref
->
{'
isrebootable
'})
if
(
defined
(
$rowref
->
{'
isrebootable
'}));
AddAttr
(
$type
,
"
bios_waittime
",
"
integer
",
$rowref
->
{'
bios_waittime
'})
if
(
defined
(
$rowref
->
{'
bios_waittime
'}));
AddAttr
(
$type
,
"
adminmfs_osid
",
"
string
",
$rowref
->
{'
adminmfs_osid
'})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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