diff options
Diffstat (limited to 'os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm')
-rw-r--r-- | os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm b/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm index 096b6d0f..9ef9f7c4 100644 --- a/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm +++ b/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm @@ -10,6 +10,8 @@ # ----------------------------------------------------------------------------- # vmchooser.pm # - allows user to pick from a list of virtual machine images +# +# - serves as base for virtualizer plugins / and requires one of these # ----------------------------------------------------------------------------- package OpenSLX::OSPlugin::vmchooser; @@ -103,9 +105,12 @@ sub installationPhase foreach my $file ( qw( vmchooser printer.sh scanner.sh xmlfilter.sh default.desktop vmchooser.sh mesgdisp run-virt.sh ) ) { copyFile("$pluginBasePath/$file", "$pluginRepoPath/"); - chmod 0755, "$pluginRepoPath/$file"; + chmod 0755, "$pluginRepoPath/$file"; } + # set ditro-specific default session + $self->{distro}->copyDefaultSession($pluginRepoPath); + return; } |