(self)
Copy disk image to path, regenerate OVF descriptor
Copy disk image to path, regenerate OVF descriptor
Copy disk image to path regenerate OVF descriptor
def sync(self):
        '''Copy disk image to path, regenerate OVF descriptor'''
        self.copy_disk()
        self.ovf_descriptor = self.new_ovf_descriptor()

        try:
            os.makedirs(os.path.dirname(self.ovf_path))
        except OSError as e:
            if "File exists" not in str(e):
                raise

        self.write_ovf_xml_to_file(self.ovf_path)
def sync ( self ) : self . copy_disk ( ) self . ovf_descriptor = self . new_ovf_descriptor ( ) try : os . makedirs ( os . path . dirname ( self . ovf_path ) ) except OSError as e : if "File exists" not in str ( e ) : raise self . write_ovf_xml_to_file ( self . ovf_path )