1
0
mirror of https://github.com/gryf/boxpy.git synced 2025-12-19 05:30:18 +01:00

Make temporary files begin with meaningful prefix

This commit is contained in:
2021-05-17 18:55:01 +02:00
parent c0e4ad966b
commit 074025c089

2
box.py
View File

@@ -545,7 +545,7 @@ class Image:
self.version = version
self.arch = arch
self.vbox = vbox
self._tmp = tempfile.mkdtemp()
self._tmp = tempfile.mkdtemp(prefix='boxpy_')
self._img = f"ubuntu-{self.version}-server-cloudimg-{self.arch}.img"
def convert_to_vdi(self, disk_img, size):