summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Janczyk2009-05-05 15:26:42 +0200
committerMichael Janczyk2009-05-05 15:26:42 +0200
commit6404dfa5f00ab667fba1dfca9ab048ab4c98b123 (patch)
treefd387b4bbc2ab200d9fa938770cbf92a13e9da18
parentfix for #421 (diff)
downloadcore-6404dfa5f00ab667fba1dfca9ab048ab4c98b123.tar.gz
core-6404dfa5f00ab667fba1dfca9ab048ab4c98b123.tar.xz
core-6404dfa5f00ab667fba1dfca9ab048ab4c98b123.zip
Bugfix: vmware kind var not defined
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2840 95ad53e4-c205-0410-b2fa-d234c58c8868
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm6
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm6
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm6
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm6
4 files changed, 12 insertions, 12 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
index fc2fcaf9..365f8561 100644
--- a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
@@ -78,14 +78,14 @@ sub fillRunlevelScript
End-of-Here
} elsif ($kind eq 'vmpl1.0') {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
End-of-Here
} elsif ($kind eq "vmpl2.0") {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
@@ -93,7 +93,7 @@ sub fillRunlevelScript
End-of-Here
} elsif ($kind eq 'vmpl2.5') {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm
index 040c1743..7a33da91 100644
--- a/os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm
@@ -65,14 +65,14 @@ sub fillRunlevelScript
End-of-Here
} elsif ($kind eq 'vmpl1.0') {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
End-of-Here
} elsif ($kind eq "vmpl2.0") {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
@@ -80,7 +80,7 @@ sub fillRunlevelScript
End-of-Here
} elsif ($kind eq 'vmpl2.5') {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm
index 57453b1e..c90a722b 100644
--- a/os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm
@@ -61,14 +61,14 @@ sub fillRunlevelScript
End-of-Here
} elsif ($kind eq 'vmpl1.0') {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
End-of-Here
} elsif ($kind eq "vmpl2.0") {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
@@ -76,7 +76,7 @@ sub fillRunlevelScript
End-of-Here
} elsif ($kind eq 'vmpl2.5') {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm
index 7e6840cc..5a7403b9 100644
--- a/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm
@@ -66,14 +66,14 @@ sub fillRunlevelScript
End-of-Here
} elsif ($kind eq 'vmpl1.0') {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
End-of-Here
} elsif ($kind eq "vmpl2.0") {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko
@@ -81,7 +81,7 @@ sub fillRunlevelScript
End-of-Here
} elsif ($kind eq 'vmpl2.5') {
$script .= unshiftHereDoc(<<" End-of-Here");
- vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/
+ vmware_kind_path=/opt/openslx/plugin-repo/vmware/${kind}/
module_src_path=\${vmware_kind_path}/vmroot/modules
insmod \${module_src_path}/vmmon.ko
insmod \${module_src_path}/vmnet.ko