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
031964f0
Commit
031964f0
authored
Sep 08, 2005
by
Mike Hibler
Browse files
Return FS node info
parent
795602eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcd.c
View file @
031964f0
...
...
@@ -5505,7 +5505,7 @@ COMMAND_PROTOTYPE(doemulabconfig)
}
/*
* Spit the names of the boss and
op
s nodes for everyones benefit.
* Spit the names of the boss
, ops
and
f
s nodes for everyones benefit.
*/
mysql_data_seek
(
res
,
0
);
nrows
=
(
int
)
mysql_num_rows
(
res
);
...
...
@@ -5525,6 +5525,12 @@ COMMAND_PROTOTYPE(doemulabconfig)
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"OPSIP=%s
\n
"
,
row
[
2
]);
}
else
if
(
!
strcmp
(
row
[
1
],
"fs"
))
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"FSNODE=%s
\n
"
,
row
[
3
]);
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"FSIP=%s
\n
"
,
row
[
2
]);
}
}
mysql_free_result
(
res
);
...
...
@@ -5553,6 +5559,12 @@ COMMAND_PROTOTYPE(doemulabconfig)
}
else
if
(
strcmp
(
row
[
0
],
"elabinelab/ops_pkg"
)
==
0
)
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"OPS_PKG=%s
\n
"
,
row
[
1
]);
}
else
if
(
strcmp
(
row
[
0
],
"elabinelab/fs_pkg_dir"
)
==
0
)
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"FS_PKG_DIR=%s
\n
"
,
row
[
1
]);
}
else
if
(
strcmp
(
row
[
0
],
"elabinelab/fs_pkg"
)
==
0
)
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"FS_PKG=%s
\n
"
,
row
[
1
]);
}
else
if
(
strcmp
(
row
[
0
],
"elabinelab/windows"
)
==
0
)
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"WINSUPPORT=%s
\n
"
,
row
[
1
]);
...
...
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