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
46c802a0
Commit
46c802a0
authored
Oct 01, 2012
by
Leigh B Stoller
Browse files
Do not reboot or reconfig the shared-nodes experiment; an error
can wreak havoc.c
parent
1b0d3bb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbswap.in
View file @
46c802a0
...
...
@@ -215,6 +215,14 @@ if (!defined($experiment)) {
tbdie
("
Could not lookup experiment object!
")
}
# Do not reboot *or* reconfig the shared node experiment.
if
((
$swapop
eq
"
modify
"
||
$swapop
eq
"
update
")
&&
$pid
eq
TBOPSPID
()
&&
(
$eid
eq
"
shared-nodes
"
||
$eid
eq
"
shared-node
"))
{
$updateReboot
=
0
;
$updateReconfig
=
0
;
}
#
# Print starting message.
#
...
...
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