Search
j0ke.net Open Build Service
>
Projects
>
virtualization
:
Cloud
:
OpenNebula
>
opennebula-driver-vmware
> vmware-vmwarelib.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File vmware-vmwarelib.patch of Package opennebula-driver-vmware (Revision 3)
Currently displaying revision
3
,
show latest
--- lib/vmwarelib.rb.orig 2011-07-09 00:14:27.337368199 +0200 +++ lib/vmwarelib.rb 2011-07-09 00:16:54.651760445 +0200 @@ -28,9 +28,11 @@ if !ONE_LOCATION RUBY_LIB_LOCATION = "/usr/lib/one/ruby" ETC_LOCATION = "/etc/one/" + BIN_LOCATION = "/usr/bin" else RUBY_LIB_LOCATION = ONE_LOCATION + "/lib/ruby" ETC_LOCATION = ONE_LOCATION + "/etc/" + BIN_LOCATION = ONE_LOCATION + "/bin" end $: << RUBY_LIB_LOCATION @@ -43,7 +45,7 @@ # Common functions def perform_action(command) - command = ENV['ONE_LOCATION'] + "/bin/tty_expect -u " + USERNAME + " -p " + PASSWORD + " " + command + command = BIN_LOCATION + "/tty_expect -u " + USERNAME + " -p " + PASSWORD + " " + command action_result = LocalCommand.run(command)