[-]
[+]
|
Changed |
opennebula-driver-vmware.changes
|
|
[-]
[+]
|
Changed |
opennebula-driver-vmware.spec
^
|
|
[-]
[+]
|
Added |
vmware-vmwarelib.patch
^
|
@@ -0,0 +1,23 @@
+--- 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)
+
|