diff options
Diffstat (limited to 'os-plugins/plugins/VMware')
-rw-r--r-- | os-plugins/plugins/VMware/OpenSLX/OSPlugin/vmware.pm (renamed from os-plugins/plugins/VMware/OpenSLX/OSPlugin/VMware.pm) | 10 | ||||
-rw-r--r-- | os-plugins/plugins/VMware/XX_vmware.sh (renamed from os-plugins/plugins/VMware/XX_VMware.sh) | 14 |
2 files changed, 12 insertions, 12 deletions
diff --git a/os-plugins/plugins/VMware/OpenSLX/OSPlugin/VMware.pm b/os-plugins/plugins/VMware/OpenSLX/OSPlugin/vmware.pm index c12750e7..69492160 100644 --- a/os-plugins/plugins/VMware/OpenSLX/OSPlugin/VMware.pm +++ b/os-plugins/plugins/VMware/OpenSLX/OSPlugin/vmware.pm @@ -8,10 +8,10 @@ # # General information about OpenSLX can be found at http://openslx.org/ # ----------------------------------------------------------------------------- -# VMware.pm -# - an example implementation of the OSPlugin API (i.e. an os-plugin) +# vmware.pm +# - declares necessary information for the vmware plugin # ----------------------------------------------------------------------------- -package OpenSLX::OSPlugin::VMware; +package OpenSLX::OSPlugin::vmware; use strict; use warnings; @@ -56,7 +56,7 @@ sub getAttrInfo applies_to_systems => 1, applies_to_clients => 0, description => unshiftHereDoc(<<' End-of-Here'), - should the 'VMware'-plugin be executed during boot? + should the 'vmware'-plugin be executed during boot? End-of-Here content_regex => qr{^(0|1)$}, content_descr => '1 means active - 0 means inactive', @@ -67,7 +67,7 @@ sub getAttrInfo applies_to_systems => 1, applies_to_clients => 0, description => unshiftHereDoc(<<' End-of-Here'), - the execution precedence of the 'VMware' plugin + the execution precedence of the 'vmware' plugin End-of-Here content_regex => qr{^\d\d$}, content_descr => 'allowed range is from 01-99', diff --git a/os-plugins/plugins/VMware/XX_VMware.sh b/os-plugins/plugins/VMware/XX_vmware.sh index ce0999b8..848bb10b 100644 --- a/os-plugins/plugins/VMware/XX_VMware.sh +++ b/os-plugins/plugins/VMware/XX_vmware.sh @@ -1,15 +1,15 @@ #! /bin/sh # check if the configuration file is available -if [ -e /initramfs/plugin-conf/VMware.conf ]; then +if [ -e /initramfs/plugin-conf/vmware.conf ]; then # load needed variables - . /initramfs/plugin-conf/VMware.conf + . /initramfs/plugin-conf/vmware.conf # Test if this plugin is activated - if [ $VMware_active -ne 0 ]; then + if [ $vmware_active -ne 0 ]; then - [ $DEBUGLEVEL -gt 0 ] && echo "executing the 'VMware' os-plugin ..."; + [ $DEBUGLEVEL -gt 0 ] && echo "executing the 'vmware' os-plugin ..."; # Load general configuration . /initramfs/machine-setup @@ -19,7 +19,7 @@ if [ -e /initramfs/plugin-conf/VMware.conf ]; then # D_INITDIR is defined in the following file: . /etc/sysconfig/config - echo " * VMware part 1" + echo " * vmware part 1" ############################################################################# # vmware stuff first part: two scenarios # * VM images in /usr/share/vmware - then simply link @@ -62,7 +62,7 @@ if [ -e /initramfs/plugin-conf/VMware.conf ]; then fi fi - echo " * VMware part 2" + echo " * vmware part 2" ############################################################################# # vmware stuff second part: setting up the environment @@ -166,7 +166,7 @@ if [ -e /initramfs/plugin-conf/VMware.conf ]; then /mnt/etc/vmware/vmnet8/nat 2>/dev/null fi - [ $DEBUGLEVEL -gt 0 ] && echo "done with 'VMware' os-plugin ..."; + [ $DEBUGLEVEL -gt 0 ] && echo "done with 'vmware' os-plugin ..."; fi fi |