Search
j0ke.net Open Build Service
>
Projects
>
virtualization
:
Cloud
:
OpenNebula
>
opennebula-driver-vmware
> vmware-imRemotesVmwareRCfix.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File vmware-imRemotesVmwareRCfix.patch of Package opennebula-driver-vmware
--- im/remotes/vmware.rb.orig 2011-07-09 01:32:12.855567990 +0200 +++ im/remotes/vmware.rb 2011-07-09 01:32:59.886148818 +0200 @@ -4,8 +4,10 @@ if !ONE_LOCATION RUBY_LIB_LOCATION="/usr/lib/one/ruby" + VMWARERC_LOCATION="/etc/one/vmwarerc" else RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" + VMWARERC_LOCATION=ONE_LOCATION+"/etc/vmwarerc" end $: << RUBY_LIB_LOCATION @@ -58,7 +60,7 @@ exit -1 end -load ENV['ONE_LOCATION'] + "/etc/vmwarerc" +load VMWARERC_LOCATION data = perform_action("virsh -c #{LIBVIRT_URI} --readonly nodeinfo")