5 Commits

Author SHA1 Message Date
gryf e3ae80244b Bump Fedora and Ubuntu versions 2026-05-17 17:54:47 +02:00
gryf a75739cee1 Bump default Debian version to 13 2026-03-25 13:14:57 +01:00
gryf cd1dc310c7 Handle keyboard interruption. 2026-03-17 19:15:59 +01:00
gryf 295fb59101 Bumped Fedora and Centos Stream versions 2026-02-27 10:26:28 +01:00
gryf 60e45b9bfc Added support for Fedora 42 2025-05-20 11:27:21 +02:00
2 changed files with 21 additions and 9 deletions
+8 -2
View File
@@ -37,20 +37,26 @@ Tested distros
- 20.04
- 22.04
- 24.04
- 25.04
- 26.04
- Fedora
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- Centos Stream
- 8
- 9
- 10
- Debian
- 10 (buster)
- 11 (bullseye)
- 12 (bookworm)
- 13 (trixie) - prerelease
- 13 (trixie)
There is possibility to use whatever OS image which supports cloud-init. Use
the ``--image`` param for ``create`` command to pass image filename, although
@@ -76,7 +82,7 @@ You'll have ``boxpy`` command created for you as well.
.. code:: shell-session
$ boxpy -V
boxpy 1.9.2
boxpy 1.11.3
Other option is simply link it somewhere in the path:
+13 -7
View File
@@ -18,7 +18,7 @@ import requests
import yaml
__version__ = "1.11.1"
__version__ = "1.11.3"
CACHE_DIR = os.environ.get('XDG_CACHE_HOME', os.path.expanduser('~/.cache'))
CLOUD_IMAGE = "ci.iso"
@@ -1144,7 +1144,10 @@ class Fedora(Image):
'38': '1.6',
'39': '1.5',
'40': '1.14',
'41': '1.4'}
'41': '1.4',
'42': '1.1',
'43': '1.6',
'44': '1.7'}
def __init__(self, vbox, version, arch, fname=None):
super().__init__(vbox, version, arch)
@@ -1241,22 +1244,22 @@ DISTROS = {'ubuntu': {'username': 'ubuntu',
'realname': 'ubuntu',
'img_class': Ubuntu,
'amd64': 'amd64',
'default_version': '24.04'},
'default_version': '26.04'},
'fedora': {'username': 'fedora',
'realname': 'fedora',
'img_class': Fedora,
'amd64': 'x86_64',
'default_version': '41'},
'default_version': '44'},
'centos': {'username': 'centos',
'realname': 'centos',
'img_class': CentosStream,
'amd64': 'x86_64',
'default_version': '9'},
'default_version': '10'},
'debian': {'username': 'debian',
'realname': 'debian',
'img_class': Debian,
'amd64': 'amd64',
'default_version': '12'}}
'default_version': '13'}}
def get_image_object(vbox, version, image='ubuntu', arch='amd64'):
@@ -1825,4 +1828,7 @@ def main():
if __name__ == '__main__':
sys.exit(main())
try:
sys.exit(main())
except KeyboardInterrupt:
sys.exit(50)