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
14d675bc
Commit
14d675bc
authored
Jun 24, 2004
by
Robert Ricci
Browse files
Change the way we output the node's newnode ID to make it easier for
newclient to find it.
parent
7be17267
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/newnodecheckin.php
View file @
14d675bc
...
...
@@ -82,7 +82,8 @@ if (count($interfaces)) {
$row
=
mysql_fetch_array
(
$query_result
);
$id
=
$row
[
"new_node_id"
];
$node_id
=
$row
[
"node_id"
];
echo
"Node has already checked in as ID
$id
, name
$node_id
\n
"
;
echo
"Node has already checked in
\n
"
;
echo
"Node ID is
$id
\n
"
;
#
# Keep the temp. IP address around in case it's gotten a new one
...
...
@@ -125,6 +126,8 @@ $query_result = DBQueryFatal("select last_insert_id()");
$row
=
mysql_fetch_array
(
$query_result
);
$new_node_id
=
$row
[
0
];
echo
"Node ID is
$new_node_id
\n
"
;
foreach
(
$interfaces
as
$interface
)
{
$card
=
$interface
[
"card"
];
$mac
=
$interface
[
"mac"
];
...
...
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