lib/mccloud/command/provision.rb in mccloud-0.0.1 vs lib/mccloud/command/provision.rb in mccloud-0.0.2
- old
+ new
@@ -4,10 +4,10 @@
module Command
def provision(selection=nil,options=nil)
on_selected_machines(selection) do |id,vm|
instance=vm.instance
- instance.private_key_path=vm.key
+ instance.private_key_path=vm.private_key
instance.username = vm.user
#p vm.provisioner
provisioner=@session.config.provisioners[vm.provisioner.to_s]
if provisioner.nil?
\ No newline at end of file