From 431e6e2f2811dc277feaca90f52466d623a74b0b Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 14 Mar 2008 22:49:57 +0000 Subject: * added support for stage1 attributes that are stored along each plugin installed into a vendor-OS. * an update of the slxos-plugin documentation is still missing (coming soon ;-) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1633 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'os-plugins/plugins/vmware') diff --git a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm index af4df603..7a9a57cb 100644 --- a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm +++ b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm @@ -75,7 +75,7 @@ sub getAttrInfo End-of-Here content_regex => qr{^\d\d$}, content_descr => 'allowed range is from 01-99', - default => 70, + default => '70', }, # attribute 'imagesrc' defines where we can find vmware images 'vmware::imagessrc' => { @@ -84,9 +84,21 @@ sub getAttrInfo description => unshiftHereDoc(<<' End-of-Here'), Where do we store our vmware images? NFS? Filesystem? End-of-Here - content_regex => qr{^\d\d$}, content_descr => 'Allowed values: path or URI', - default => "", + default => '', + }, + # attribute 'binaries' defines whether or not VMware binaries shall + # be provided (by downloading them). + 'vmware::binaries' => { + applies_to_vendor_os => 1, + applies_to_systems => 0, + applies_to_clients => 0, + description => unshiftHereDoc(<<' End-of-Here'), + Shall VMware binaries be downloaded and installed? + End-of-Here + content_regex => qr{^(0|1)$}, + content_descr => 'Allowed values: 0 or 1', + default => '1', }, }; -- cgit v1.2.3-55-g7522