Skip to content
Browse files

corrected vm_options warning printout

  • Loading branch information...
1 parent 5e88777 commit 13df6d3e7c9d6d44f269132d12ad51ef38350e7d @jedi4ever committed Aug 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/veewee/provider/virtualbox/box/helper/create.rb
View
2 lib/veewee/provider/virtualbox/box/helper/create.rb
@@ -158,7 +158,7 @@ def create_vm
if definition.instance_variable_defined?("@#{vm_flag}")
vm_flag_value=definition.instance_variable_get("@#{vm_flag}")
ui.info "Setting VM Flag #{vm_flag} to #{vm_flag_value}"
- ui.warn "Used of #{vm_flag} is deprecated - specify your options in :virtualbox => { : vm_options => [\"#{vm_flag}\" => \"#{vm_flag_value}\"]}"
+ ui.warn "Used of #{vm_flag} is deprecated - specify your options in the definition file as \n :virtualbox => { :vm_options => [\"#{vm_flag}\" => \"#{vm_flag_value}\"]}"
command="#{@vboxcmd} modifyvm #{name} --#{vm_flag.to_s} #{vm_flag_value}"
shell_exec("#{command}")
end

0 comments on commit 13df6d3

Please sign in to comment.
Something went wrong with that request. Please try again.