From f5a2890621f7f579d860f09c69e0e4888e7df25b Mon Sep 17 00:00:00 2001 From: Greg Ball Date: Wed, 13 Mar 2013 09:34:18 -0500 Subject: Drop gzip flag from tar command for OVF archives Fixes bug 1154253 Change-Id: I3880d9b187dc25d2ff44fe502eec4d1e0bce4218 --- plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py b/plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py index 2a5d3d9ae..850d6ab98 100644 --- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py +++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py @@ -345,7 +345,7 @@ def extract_tarball(fileobj, path, callback=None): :param path: path to extract tarball into :param callback: optional callback to call on each chunk read """ - tar_cmd = "tar -zx --directory=%(path)s" % locals() + tar_cmd = "tar -x --directory=%(path)s" % locals() tar_proc = make_subprocess(tar_cmd, stderr=True, stdin=True) while True: -- cgit