mirror of
https://github.com/gryf/boxpy.git
synced 2025-12-20 22:27:58 +01:00
Make temporary files begin with meaningful prefix
This commit is contained in:
2
box.py
2
box.py
@@ -545,7 +545,7 @@ class Image:
|
|||||||
self.version = version
|
self.version = version
|
||||||
self.arch = arch
|
self.arch = arch
|
||||||
self.vbox = vbox
|
self.vbox = vbox
|
||||||
self._tmp = tempfile.mkdtemp()
|
self._tmp = tempfile.mkdtemp(prefix='boxpy_')
|
||||||
self._img = f"ubuntu-{self.version}-server-cloudimg-{self.arch}.img"
|
self._img = f"ubuntu-{self.version}-server-cloudimg-{self.arch}.img"
|
||||||
|
|
||||||
def convert_to_vdi(self, disk_img, size):
|
def convert_to_vdi(self, disk_img, size):
|
||||||
|
|||||||
Reference in New Issue
Block a user