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
206d4e10
Commit
206d4e10
authored
Sep 13, 2010
by
Leigh B Stoller
Browse files
Bug Fix: Using -e option was ignoring shared virtual nodes.
parent
c86ea20d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/node_reboot.in
View file @
206d4e10
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
8
University of Utah and the Flux Group.
# Copyright (c) 2000-20
1
0 University of Utah and the Flux Group.
# All rights reserved.
#
use
strict
;
...
...
@@ -181,7 +181,7 @@ elsif (defined($options{"e"})) {
die
("
*** $0:
\n
"
.
"
You not have permission to reboot nodes in
$experiment
!
\n
");
}
my
@nodelist
=
$experiment
->
NodeList
();
my
@nodelist
=
$experiment
->
NodeList
(
0
,
1
);
if
(
!
@nodelist
)
{
die
("
*** $0:
\n
"
.
"
There are no nodes reserved in
$experiment
\n
");
...
...
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