Projects
jsj
jsj-installtools
PrepareVMwareSDK
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PrepareVMwareSDK of Package jsj-installtools
#!/bin/bash . /usr/share/jsjinstalltools/GetVersion if [ ${VERSION_ID/./} -ge 140 ]; then REPOVERSION="Leap_$VERSION" else REPOVERSION="$VERSION" fi zypper sl -u | egrep "devel:/languages:/perl/openSUSE_$REPOVERSION" 2>&1 > /dev/null if [ $? != 0 ]; then zypper ar -f http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_$REPOVERSION "BS_perl_$VERSION" fi zypper sl -u | egrep "/clusterperl/openSUSE_$REPOVERSION" 2>&1 > /dev/null if [ $? != 0 ]; then zypper ar -f http://repo.botter.cc/clusterperl/openSUSE_$REPOVERSION "jsj-clusterperl_$VERSION" fi zypper ref zypper -n in -l perl-Archive-Zip perl-Crypt-SSLeay perl-Class-MethodMaker perl-UUID perl-Data-Dump \ perl-Module-Build perl-SOAP-Lite perl-LWP-Protocol-https libopenssl-devel \ e2fsprogs-devel if [ ${VERSION_ID/./} -lt 140 ]; then zypper -n in -l -r jsj-clusterperl_$REPOVERSION -f perl-libwww-perl else zypper -n in -l -f perl-libwww-perl fi TDIR=$(mktemp -d ~/VMSDK.XXXXXXXXXX) rsync -vaPH router.botter.cC::vmsdk/ $TDIR/ pushd $TDIR tar xfz VMware-vSphere-Perl-SDK-*.tar.gz pushd vmware-vsphere-cli-distrib ./vmware-install.pl -d popd popd rm -r $TDIR echo You may want to create the credential store for a VC: echo /usr/lib/vmware-vcli/apps/general/credstore_admin.pl add -s virtctr.doma.in -u username -p password
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.