Revision 811b7149 image_creator/os_type/windows.py
b/image_creator/os_type/windows.py | ||
---|---|---|
89 | 89 |
|
90 | 90 |
self._guest_exec('netsh firewall set icmpsetting 8') |
91 | 91 |
|
92 |
@sysprep('Disabling hibernation support') |
|
93 |
def disable_hibernation(self): |
|
94 |
"""Disable hibernation support and remove the hibernation file""" |
|
95 |
|
|
96 |
self._guest_exec(r'powercfg.exe /hibernate off') |
|
97 |
|
|
92 | 98 |
@sysprep('Setting the system clock to UTC') |
93 | 99 |
def utc(self): |
94 | 100 |
"""Set the hardware clock to UTC""" |
Also available in: Unified diff