Commit b08fd2ea authored by Mike Hibler's avatar Mike Hibler
Browse files

For Xen-based elabinelab, allow setting Xen image to use.

You do this by setting the nodeos of "xenhost", ala:

    set elabinelab_nodeos("xenhost") XEN44-64-BETA2

    set elabinelab_nodeos("boss") FBSD100-64-STD
    set elabinelab_nodeos("ops") FBSD100-64-STD
parent 148dd0f5
......@@ -146,20 +146,27 @@ if { ${::GLOBALS::elabinelab_singlenet} == 0 } {
}
}
set xenos XEN41-64-STD
if {[info exists ::TBCOMPAT::elabinelab_nodeos("xenhost")]} {
namespace eval TBCOMPAT {
set xenos $elabinelab_nodeos("xenhost")
}
}
if {[info exists ::TBCOMPAT::elabinelab_nodeos("boss")]} {
namespace eval TBCOMPAT {
tb-set-node-os $myboss $elabinelab_nodeos("boss") XEN41-64-STD
tb-set-node-os $myboss $elabinelab_nodeos("boss") $xenos
}
} else {
tb-set-node-os $myboss XEN-GUEST-FBSD90-STD XEN41-64-STD
tb-set-node-os $myboss XEN-GUEST-FBSD90-STD $xenos
}
if {[info exists ::TBCOMPAT::elabinelab_nodeos("ops")]} {
namespace eval TBCOMPAT {
tb-set-node-os $myops $elabinelab_nodeos("ops") XEN41-64-STD
tb-set-node-os $myops $elabinelab_nodeos("ops") $xenos
}
} else {
tb-set-node-os $myops XEN-GUEST-FBSD90-STD XEN41-64-STD
tb-set-node-os $myops XEN-GUEST-FBSD90-STD $xenos
}
#
......
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