1
0
mirror of https://github.com/gryf/boxpy.git synced 2025-12-18 21:10:17 +01:00

Fix nasty bug for debian images

This commit is contained in:
2023-07-04 18:48:18 +02:00
parent 55416db13d
commit 43eabb9947

4
box.py
View File

@@ -18,7 +18,7 @@ import requests
import yaml
__version__ = "1.9"
__version__ = "1.9.1"
CACHE_DIR = os.environ.get('XDG_CACHE_HOME', os.path.expanduser('~/.cache'))
CLOUD_IMAGE = "ci.iso"
@@ -640,6 +640,8 @@ class OsTypes:
if name not in self._ostypes:
return 'Debian_64'
return name
def get(self):
if not hasattr(self, self._conf.distro):
return "Linux_64"