def extract(self): """Extract the vmdk disk out of zip.""" LOGGER.debug("Extracting '.vmdk' disk file from [%s].", self.input_disk_path) self.disk_to_upload = BaseDisk.decompress(self.input_disk_path, '.vmdk', self.working_dir) LOGGER.info("AWS disk_to_upload = '%s'", self.disk_to_upload)
def extract(self): """Extract the vhd disk out of tar.gz.""" try: self.disk_to_upload = BaseDisk.decompress(self.input_disk_path, '.vhd', self.working_dir) LOGGER.info("Azure disk_to_upload = '%s'", self.disk_to_upload) except RuntimeError as runtime_error: raise runtime_error
def extract(self): """Extract the vmdk disk out of zip.""" try: LOGGER.debug("Extracting '.vmdk' disk file from [%s].", self.input_disk_path) self.disk_to_upload = BaseDisk.decompress(self.input_disk_path, '.vmdk', self.working_dir) LOGGER.info("AWS disk_to_upload = '%s'", self.disk_to_upload) except RuntimeError as runtime_error: raise runtime_error
def extract(self): """Extract the vhd disk out of tar.gz.""" self.disk_to_upload = BaseDisk.decompress(self.input_disk_path, '.vhd', self.working_dir) LOGGER.info("Azure disk_to_upload = '%s'", self.disk_to_upload)