Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions contrib/mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,16 @@ def main(
continue

if not image["shortname"].startswith(
("almalinux", "centos", "debian", "rocky", "ubuntu", "gardenlinux", "talos")
(
"almalinux",
"centos",
"debian",
"rocky",
"ubuntu",
"gardenlinux",
"talos",
"flatcar",
)
):
continue

Expand All @@ -112,7 +121,7 @@ def main(
)
_, mirror_fileextension2 = os.path.splitext(mirror_filename)

if not image["shortname"].startswith(("gardenlinux", "talos")):
if not image["shortname"].startswith(("gardenlinux", "talos", "flatcar")):
mirror_filename = f"{version['version']}-{image['shortname']}"

if mirror_fileextension not in [".bz2", ".zip", ".xz", ".gz"]:
Expand All @@ -129,7 +138,9 @@ def main(
)
_, source_fileextension2 = os.path.splitext(source_filename)

if source_fileextension not in [".bz2", ".zip", ".xz", ".gz"]:
if image["shortname"].startswith(("flatcar")):
mirror_dirname = os.path.join(mirror_dirname, version["version"])
elif source_fileextension not in [".bz2", ".zip", ".xz", ".gz"]:
source_filename += source_fileextension
else:
mirror_dirname = os.path.join(mirror_dirname, version["version"])
Expand Down
20 changes: 5 additions & 15 deletions etc/images/flatcar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,8 @@ images:
provided_until: none
tags: []
versions:
- version: '3227.2.4'
url: https://stable.release.flatcar-linux.net/amd64-usr/3227.2.4/flatcar_production_openstack_image.img.bz2
mirror_url: https://nbg1.your-objectstorage.com/osism/openstack-images/flatcar/3227.2.4/flatcar_production_openstack_image.img
checksum: "sha256:774a4fd77da47a7c91714e6424891d6887ed7b9b72daadc40d56bb2f7527b4f5"
build_date: 2022-10-27
- version: '3602.2.3'
url: https://stable.release.flatcar-linux.net/amd64-usr/3602.2.3/flatcar_production_openstack_image.img
mirror_url: https://nbg1.your-objectstorage.com/osism/openstack-images/flatcar/3602.2.3/flatcar_production_openstack_image.img
checksum: "sha256:23b2d10aa0adf53d58bca0d9664338bdd308bef9e56f8393d39cb5e22bff4409"
build_date: 2023-12-11
- version: '3815.2.1'
url: https://stable.release.flatcar-linux.net/amd64-usr/3815.2.1/flatcar_production_openstack_image.img
mirror_url: https://nbg1.your-objectstorage.com/osism/openstack-images/flatcar/3815.2.1/flatcar_production_openstack_image.img
checksum: "sha256:84d83adc4bc3537285a6193db18e437f2208d4e6f897000a86014751ac080e1f"
build_date: 2024-03-17
- version: '4230.2.4'
url: https://stable.release.flatcar-linux.net/amd64-usr/4230.2.4/flatcar_production_openstack_image.img
mirror_url: https://nbg1.your-objectstorage.com/osism/openstack-images/flatcar/4230.2.4/flatcar_production_openstack_image.img
checksum: "sha512:e1b5891a3dc1d5c9249e5ddbda53f464e7dc65a86770a6e8bdad5604b1eb3599cc3908b8460fd3c516f115d6b139f5a3cefee0f08847e8b36d76d7628f7468a1"
build_date: 2025-10-13