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
257713f6
Commit
257713f6
authored
Jun 25, 2003
by
Leigh B. Stoller
Browse files
Change wait time for jailed nodes to setup from fixed 180 seconds, to
120 + (30 * number_of_vnodes).
parent
6df49baa
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/os_setup.in
View file @
257713f6
...
...
@@ -632,6 +632,7 @@ elsif (@vnodelist) {
foreach
my
$node
(
@vnodelist
)
{
$waitstart
{
$node
}
=
time
;
}
my
$maxwait
=
120
+
(
30
*
scalar
(
@vnodelist
));
print
"
Waiting for virtual testbed nodes to finish setting up ...
\n
";
...
...
@@ -640,7 +641,7 @@ elsif (@vnodelist) {
my
$node
=
shift
(
@vnodelist
);
my
$wstart
=
$waitstart
{
$node
};
if
(
!
TBNodeStateWait
(
$node
,
TBDB_NODESTATE_ISUP
,
$wstart
,
(
60
*
3
)
))
{
if
(
!
TBNodeStateWait
(
$node
,
TBDB_NODESTATE_ISUP
,
$wstart
,
$maxwait
))
{
print
"
$node
is alive and well
\n
";
SetNodeBootStatus
(
$node
,
NODEBOOTSTATUS_OKAY
);
next
;
...
...
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