mirror of
https://github.com/gryf/boxpy.git
synced 2025-12-18 13:00:17 +01:00
Fix nasty bug for debian images
This commit is contained in:
4
box.py
4
box.py
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user