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
77b6d9c7
Commit
77b6d9c7
authored
Jun 05, 2001
by
Leigh B. Stoller
Browse files
Fix query for default OS. I thought I fixed this already, but I guess
not.
parent
31630ccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ir/handle_os.in
View file @
77b6d9c7
...
...
@@ -56,7 +56,7 @@ foreach (split("\n",$raw)) {
$type
=
$info
[
1
];
$nodetype
{
$node
}
=
$type
;
if
(
!
defined
(
$ostype
{
$type
}))
{
$sth
=
$dbh
->
prepare
("
SELECT osid from
os_info
"
.
$sth
=
$dbh
->
prepare
("
SELECT osid from
node_types
"
.
"
where machinetype=
\"
$type
\"
");
$rr
=
$sth
->
execute
;
if
(
$rr
==
0
)
{
...
...
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