Skip to content
Snippets Groups Projects
Commit 811b7149 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Add new windows sysprep for disabling hibernation

parent c2113d72
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,12 @@ class Windows(OSBase):
self._guest_exec('netsh firewall set icmpsetting 8')
@sysprep('Disabling hibernation support')
def disable_hibernation(self):
"""Disable hibernation support and remove the hibernation file"""
self._guest_exec(r'powercfg.exe /hibernate off')
@sysprep('Setting the system clock to UTC')
def utc(self):
"""Set the hardware clock to UTC"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment