diff --git a/lib/fog/xenserver/requests/compute/reboot_server.rb b/lib/fog/xenserver/requests/compute/reboot_server.rb index 77b912ef9..37d6ce59c 100644 --- a/lib/fog/xenserver/requests/compute/reboot_server.rb +++ b/lib/fog/xenserver/requests/compute/reboot_server.rb @@ -5,7 +5,7 @@ module Fog class Real def reboot_server( ref, stype = 'clean' ) - @connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => "VM.#{stype}_shutdown"}, ref) + @connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => "VM.#{stype}_reboot"}, ref) end end