Revision 8cd7d0df src/vmm_mad/remotes/ec2/reboot

View differences:

src/vmm_mad/remotes/ec2/reboot
32 32
deploy_id = ARGV[0]
33 33
host      = ARGV[1]
34 34

  
35
ec2_drv = EC2Driver.new(host)
36

  
37 35

  
38 36
begin
37
    ec2_drv = EC2Driver.new(host)
39 38
    ec2_drv.reboot(deploy_id)
40 39
rescue Exception => e
41 40
    handle_exception("Reboot", e, host, deploy_id)

Also available in: Unified diff