mirror of
https://github.com/gryf/boxpy.git
synced 2025-12-19 05:30:18 +01:00
Bump Fedora version, remove archived versions prior to 37
This commit is contained in:
10
README.rst
10
README.rst
@@ -55,25 +55,25 @@ or simply link it somewhere in the path:
|
||||
$ chmod +x ~/bin/boxpy
|
||||
|
||||
and now you can issue some command. For example, to spin up a VM with Ubuntu
|
||||
18.04 with one CPU, 1GB of memory and 6GB of disk:
|
||||
20.04 with one CPU, 1GB of memory and 6GB of disk:
|
||||
|
||||
.. code:: shell-session
|
||||
|
||||
$ boxpy create --version 18.04 myvm
|
||||
$ boxpy create --version 20.04 myvm
|
||||
|
||||
note, that Ubuntu is default distribution you don't need to specify
|
||||
``--distro`` nor ``--version`` it will pick up latest LTS version. Now, let's
|
||||
recreate it with 20.04:
|
||||
recreate it with 22.04:
|
||||
|
||||
.. code:: shell-session
|
||||
|
||||
$ boxpy rebuild --version 20.04 myvm
|
||||
$ boxpy rebuild --version 22.04 myvm
|
||||
|
||||
or recreate it with Fedora and add additional CPU:
|
||||
|
||||
.. code:: shell-session
|
||||
|
||||
$ boxpy rebuild --distro fedora --version 34 --cpu 2 myvm
|
||||
$ boxpy rebuild --distro fedora --version 39 --cpu 2 myvm
|
||||
|
||||
now, let's connect to the VM using either ssh command, which is printed out at
|
||||
as last ``boxpy`` output line, or simply by using ssh boxpy command:
|
||||
|
||||
5
box.py
5
box.py
@@ -22,8 +22,7 @@ __version__ = "1.9.2"
|
||||
|
||||
CACHE_DIR = os.environ.get('XDG_CACHE_HOME', os.path.expanduser('~/.cache'))
|
||||
CLOUD_IMAGE = "ci.iso"
|
||||
FEDORA_RELEASE_MAP = {'32': '1.6', '33': '1.2', '34': '1.2', '35': '1.2',
|
||||
'36': '1.5', '37': '1.7', '38': '1.6'}
|
||||
FEDORA_RELEASE_MAP = {'37': '1.7', '38': '1.6', '39': '1.5'}
|
||||
DEBIAN_CODENAME_MAP = {'12': 'bookworm', '11': 'bullseye', '10': 'buster'}
|
||||
TYPE_MAP = {'HardDisk': 'disk', 'DVD': 'dvd', 'Floppy': 'floppy'}
|
||||
DISTRO_MAP = {'ubuntu': 'Ubuntu', 'fedora': 'Fedora',
|
||||
@@ -1204,7 +1203,7 @@ DISTROS = {'ubuntu': {'username': 'ubuntu',
|
||||
'realname': 'fedora',
|
||||
'img_class': Fedora,
|
||||
'amd64': 'x86_64',
|
||||
'default_version': '38'},
|
||||
'default_version': '39'},
|
||||
'centos': {'username': 'centos',
|
||||
'realname': 'centos',
|
||||
'img_class': CentosStream,
|
||||
|
||||
Reference in New Issue
Block a user