def __init__(self, image, **kargs):
super(Windows, self).__init__(image, **kargs)
def __init__(self, image, **kargs):
super(Windows, self).__init__(image, **kargs)
if partition == "%s%d" % (device, self.last_part_num):
self.last_drive = drive
if partition == self.root:
if partition == "%s%d" % (device, self.last_part_num):
self.last_drive = drive
if partition == self.root:
firewall_states = self._update_firewalls(0, 0, 0)
# Delete the pagefile. It will be recreated when the system boots
firewall_states = self._update_firewalls(0, 0, 0)
# Delete the pagefile. It will be recreated when the system boots
# guestfs_shutdown which is the prefered way to shutdown the backend
# process was introduced in version 1.19.16
if check_guestfs_version(self.g, 1, 19, 16) >= 0:
# guestfs_shutdown which is the prefered way to shutdown the backend
# process was introduced in version 1.19.16
if check_guestfs_version(self.g, 1, 19, 16) >= 0:
def _registry_file_path(self, regfile):
"""Retrieves the case sensitive path to a registry file"""
def _registry_file_path(self, regfile):
"""Retrieves the case sensitive path to a registry file"""