Commit eddc9815 authored by Guido Trotter's avatar Guido Trotter
Browse files

Allow burnin with hidden OSes

burnin is a cluster/testing feature, so it makes sense that a hidden OS
can be used for it.
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarIustin Pop <>
parent f78f971e
......@@ -510,7 +510,9 @@ class Burner(object):
Err(msg, exit_code=err_code)
self.nodes = [data[0] for data in result if not (data[1] or data[2])]
op_diagnose = opcodes.OpDiagnoseOS(output_fields=["name", "variants"],
op_diagnose = opcodes.OpDiagnoseOS(output_fields=["name",
result = self.ExecOp(True, op_diagnose)
......@@ -518,7 +520,7 @@ class Burner(object):
Err("Can't get the OS list")
found = False
for (name, variants) in result:
for (name, variants, _) in result:
if self.opts.os in cli.CalculateOSNames(name, variants):
found = True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment