deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: RHEV-M: Fixed fileinject path for the rbovirt gem
Date Wed, 21 Mar 2012 13:25:00 GMT
Updated Branches:
  refs/heads/master 4a3fc20bb -> 5919d2682


RHEV-M: Fixed fileinject path for the rbovirt gem


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/5919d268
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/5919d268
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/5919d268

Branch: refs/heads/master
Commit: 5919d268245e01ddc38ff7aaf9b44c9c69b66393
Parents: 4a3fc20
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Wed Mar 21 14:25:33 2012 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Wed Mar 21 14:25:33 2012 +0100

----------------------------------------------------------------------
 .../lib/deltacloud/drivers/rhevm/rhevm_driver.rb   |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/5919d268/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb b/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
index 05fdbaf..e453ace 100644
--- a/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
+++ b/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
@@ -189,6 +189,7 @@ class RHEVMDriver < Deltacloud::BaseDriver
       params[:memory] = (opts[:hwp_memory].to_i * 1024 * 1024) if opts[:hwp_memory]
       params[:cores] = opts[:hwp_cpu] if opts[:hwp_cpu]
       params[:user_data] = opts[:user_data].gsub(/\n/,'') if opts[:user_data]
+      params[:fileinject_path] = "deltacloud-user-data.txt"
       convert_instance(client, client.create_vm(params))
     end
   end


Mime
View raw message