Exemplo n.º 1
0
 def untar_dumpdir(self):
     """
     Expand the dumpdir into place on the destination machine
     """
     LOG.debug(_('Untarring instance dumpdir: %s') % self.dumpdir)
     ovz_utils.untar(self.dumpdir_tarfile, self.dumpdir_parent)
     LOG.debug(_('Untarred instance dumpdir: %s') % self.dumpdir)
Exemplo n.º 2
0
 def untar_instance(self):
     """
     Expand the tarball from the instance and expand it into place
     """
     LOG.debug(_('Untarring instance: %s') % self.instance_source)
     ovz_utils.untar(self.instance_tarfile, self.instance_parent)
     LOG.debug(_('Untarred instance: %s') % self.instance_source)