Skip to content

Commit f220110

Browse files
committed
feat!: remove old and add new versions
1 parent da952fb commit f220110

File tree

4 files changed

+23
-11
lines changed

4 files changed

+23
-11
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,18 @@ Currently the following images repositories are supported:
1515

1616
### Debian
1717

18-
- Debian 9: https://cdimage.debian.org/cdimage/openstack/current-9/
19-
- Debian testing: https://cdimage.debian.org/cdimage/openstack/testing/
18+
- Debian 11: https://cloud.debian.org/images/cloud/bullseye/
19+
- Debian 12: https://cloud.debian.org/images/cloud/bookworm/
20+
- Debian testing: https://cloud.debian.org/images/cloud/sid/
2021

2122
### Ubuntu
2223

2324
- Ubuntu 14.04: https://cloud-images.ubuntu.com/trusty/
2425
- Ubuntu 16.04: https://cloud-images.ubuntu.com/xenial/
2526
- Ubuntu 18.04: https://cloud-images.ubuntu.com/bionic/
27+
- Ubuntu 20.04: https://cloud-images.ubuntu.com/focal/
28+
- Ubuntu 22.04: https://cloud-images.ubuntu.com/jammy/
29+
- Ubuntu 24.04: https://cloud-images.ubuntu.com/noble
2630

2731
## Installation
2832

imgsync/distros/debian.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,19 @@ def _sync_all(self):
106106
self._sync_latest()
107107

108108

109-
class Debian10(Debian):
110-
debian_release = "buster"
111-
version = "10"
112-
url = "https://repo.ifca.es/debian-cdimage-cloud/%s/latest/" % debian_release
113-
114-
115109
class Debian11(Debian):
116110
debian_release = "bullseye"
117111
version = "11"
118-
url = "https://repo.ifca.es/debian-cdimage-cloud/%s/latest/" % debian_release
112+
url = "https://cloud.debian.org/images/cloud/%s/latest/" % debian_release
119113

120114

121115
class Debian12(Debian):
122116
debian_release = "bookworm"
123117
version = "12"
124-
url = "https://repo.ifca.es/debian-cdimage-cloud/%s/latest/" % debian_release
118+
url = "https:///cloud.debian.org/images/cloud/%s/latest/" % debian_release
119+
120+
121+
class DebianTesting(Debian):
122+
debian_release = "sid"
123+
version = "tesging"
124+
url = "https:///cloud.debian.org/images/cloud/%s/latest/" % debian_release

imgsync/distros/ubuntu.py

+7
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,10 @@ class Ubuntu22(Ubuntu):
136136
ubuntu_release = "jammy"
137137
version = "22.04"
138138
filename = "%s-server-cloudimg-amd64.img" % ubuntu_release
139+
140+
141+
class Ubuntu24(Ubuntu):
142+
url = "https://repo.ifca.es/ubuntu-cloud-images/jammy/"
143+
ubuntu_release = "noble"
144+
version = "24.04"
145+
filename = "%s-server-cloudimg-amd64.img" % ubuntu_release

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ ubuntu16 = "imgsync.distros.ubuntu:Ubuntu16"
5454
ubuntu18 = "imgsync.distros.ubuntu:Ubuntu18"
5555
ubuntu20 = "imgsync.distros.ubuntu:Ubuntu20"
5656
ubuntu22 = "imgsync.distros.ubuntu:Ubuntu22"
57-
debian10 = "imgsync.distros.debian:Debian10"
57+
ubuntu24 = "imgsync.distros.ubuntu:Ubuntu24"
5858
debian11 = "imgsync.distros.debian:Debian11"
5959
debian12 = "imgsync.distros.debian:Debian12"
60+
debiantesting = "imgsync.distros.debian:DebianTesting"
6061

6162

6263
[tool.poetry.dependencies]

0 commit comments

Comments
 (0)