summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/xen
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/xen')
-rw-r--r--os-plugins/plugins/xen/OpenSLX/OSPlugin/xen.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/os-plugins/plugins/xen/OpenSLX/OSPlugin/xen.pm b/os-plugins/plugins/xen/OpenSLX/OSPlugin/xen.pm
index babc22a7..671e985f 100644
--- a/os-plugins/plugins/xen/OpenSLX/OSPlugin/xen.pm
+++ b/os-plugins/plugins/xen/OpenSLX/OSPlugin/xen.pm
@@ -89,7 +89,8 @@ sub _xenLabel
if ($info->{name} =~ m{^(.+)::(.+)$}) {
my $system = $1;
my $exportType = $2;
- $label = $system . "-xen" . ' ' x (36-length($system)) . $exportType;
+ $label = $system . "-xen" . ' ' x (36-length($system))
+ . $exportType;
} else {
$label = $info->{name};
}
@@ -106,6 +107,7 @@ sub _xenBootEntry
# Example:
# KERNEL mboot.c32 vendor-os/xen.gz dom0_mem=128000 ---
# vendor-os/vmlinuz-xen debug=3 --- vendor-os/initramfs-1
+ # TODO: versionsort oder per attr?
if ($info->{xen::active} eq 1) {
my $xenKernel = slxsystem(ls /boot/xen* | sort | tail -n 1);
$append .= " file=$bootURI" if length($bootURI);