From 613049e07a637b8c69fbd0251281ed7a2cbee014 Mon Sep 17 00:00:00 2001 From: Nicholas Pettas Date: Tue, 8 Aug 2023 10:39:43 -0700 Subject: [PATCH] Fix #82 by setting the tar format to gnu from pax --- COT/vm_description/ovf/ovf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/COT/vm_description/ovf/ovf.py b/COT/vm_description/ovf/ovf.py index 4550bd2..6508f2b 100644 --- a/COT/vm_description/ovf/ovf.py +++ b/COT/vm_description/ovf/ovf.py @@ -2777,7 +2777,7 @@ def tar(self, ovf_descriptor, tar_file): expected_size=file_ref.size) # Be sure to dereference any links to the actual file content! - with tarfile.open(tar_file, 'w', dereference=True) as tarf: + with tarfile.open(tar_file, 'w', dereference=True, format=tarfile.GNU_FORMAT) as tarf: # OVF is always first logger.debug("Adding OVF descriptor %s to %s", ovf_descriptor, tar_file)