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-stable
Commits
ddb9bf13
Commit
ddb9bf13
authored
Dec 08, 2014
by
Jonathon Duerig
Browse files
If a node isn't pcvm, then it can't run emulab-xen or emulab-openvz sliver types
parent
cee881a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ptopgen.in
View file @
ddb9bf13
...
...
@@ -1309,8 +1309,6 @@ foreach $node (@nodenames) {
}
}
else
{
push
(
@sliver_types
,
"
raw-pc
");
push
(
@sliver_types
,
"
emulab-openvz
");
push
(
@sliver_types
,
"
emulab-xen
");
}
#
...
...
@@ -1362,6 +1360,11 @@ foreach $node (@nodenames) {
if
((
$legacy_type
=~
s/pc/pcvm/
))
{
push
(
@types
,
"
${legacy_type}
:
$count
");
}
if
(
!
$sharing_mode
{
$node
})
{
push
(
@sliver_types
,
"
emulab-openvz
");
push
(
@sliver_types
,
"
emulab-xen
");
}
}
push
(
@types
,
$auxinfo
);
}
...
...
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