Commit a98249a3 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Allow emulab-xen as a sliver type. Like openvz, you get a XEN

container instead. Note though that we do not have XEN shared nodes
yet, only exclusive.
parent 7b0e19f4
...@@ -1026,6 +1026,20 @@ sub GetTicketAuxAux($$$$$$$$$) ...@@ -1026,6 +1026,20 @@ sub GetTicketAuxAux($$$$$$$$$)
$osname = "OPENVZ-STD"; $osname = "OPENVZ-STD";
} }
} }
elsif ($virtualization_subtype eq "emulab-xen") {
# Allow caller to set the image to use, but also
# trick to set the parent.
if (defined($osinfo)) {
if (! $osinfo->IsSubOS()) {
$parent_osname = $osname;
$osname = "XEN-STD";
}
}
elsif (!defined($osname)) {
# Allow for url above.
$osname = "XEN-STD";
}
}
elsif ($virtualization_subtype eq "emulab-spp") { elsif ($virtualization_subtype eq "emulab-spp") {
$osname = "SPPVM-FAKE"; $osname = "SPPVM-FAKE";
$pctype = "sppvm"; $pctype = "sppvm";
......
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