Skip to content

Instantly share code, notes, and snippets.

@timogoebel
Created April 24, 2018 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timogoebel/9467f3be42cf0e08a34c8abc4fcb8be5 to your computer and use it in GitHub Desktop.
Save timogoebel/9467f3be42cf0e08a34c8abc4fcb8be5 to your computer and use it in GitHub Desktop.
diff --git a/app/models/compute_resources/foreman/model/vmware.rb b/app/models/compute_resources/foreman/model/vmware.rb
index 39f1fe803..abb01739a 100644
--- a/app/models/compute_resources/foreman/model/vmware.rb
+++ b/app/models/compute_resources/foreman/model/vmware.rb
@@ -442,6 +442,7 @@ module Foreman::Model
if args[:provision_method] == 'image'
clone_vm(args)
else
+ Rails.logger.error "DEBUG: compute resource args: #{args.inspect}"
vm = new_vm(args)
vm.firmware = 'bios' if vm.firmware == 'automatic'
vm.save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment