Method: PSWindows::Exec#reboot

Defined in:
lib/beaker/host/pswindows/exec.rb

#rebootObject



5
6
7
8
9
# File 'lib/beaker/host/pswindows/exec.rb', line 5

def reboot
  exec(Beaker::Command.new("shutdown /r /t 0"), :expect_connection_failure => true)
  # rebooting on windows is slooooow
  sleep(40)
end