diff options
| author | Greg Ball <greg.ball@rackspace.com> | 2013-03-13 09:34:18 -0500 |
|---|---|---|
| committer | Greg Ball <greg.ball@rackspace.com> | 2013-03-13 10:39:26 -0500 |
| commit | f5a2890621f7f579d860f09c69e0e4888e7df25b (patch) | |
| tree | 112c8917720423f2b1fcab9735047a5db5ec633c /plugins | |
| parent | 48d94a591aec4efb0efe102e7ca4cd913c2a2b7d (diff) | |
| download | nova-f5a2890621f7f579d860f09c69e0e4888e7df25b.tar.gz nova-f5a2890621f7f579d860f09c69e0e4888e7df25b.tar.xz nova-f5a2890621f7f579d860f09c69e0e4888e7df25b.zip | |
Drop gzip flag from tar command for OVF archives
Fixes bug 1154253
Change-Id: I3880d9b187dc25d2ff44fe502eec4d1e0bce4218
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
