From bd19522778257e41d23ac15a5adfc35455f9e310 Mon Sep 17 00:00:00 2001 From: Raúl Benencia Date: Fri, 5 Jun 2026 18:04:23 -0300 Subject: Update example templates to modern distros Replace CoreOS (EOL) with Flatcar Linux using Ignition v3. Replace CentOS (EOL) with AlmaLinux using a kickstart template. Update Ubuntu templates to jammy with current archive mirror paths. Update Debian template to bookworm. Drop CoreOS cloud-config; add Flatcar Ignition example. Update mappings.yaml, test configs, fixtures, and smoke test accordingly. --- test/integ-test/integ_test.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/integ-test/integ_test.py') diff --git a/test/integ-test/integ_test.py b/test/integ-test/integ_test.py index a821551..f479e29 100755 --- a/test/integ-test/integ_test.py +++ b/test/integ-test/integ_test.py @@ -172,7 +172,7 @@ def test_unknown_server(shoelaces_instance): assert requests.get(poll_url).text == poll.read() # Setting the config for the new host should succeed. requests.post(API_URL + '/update/target', - {"target": "coreos.ipxe", + {"target": "flatcar.ipxe", "mac": "06:66:de:ad:be:ef", "version": "666.0", "cloudconfig": "virtual"}).raise_for_status() @@ -209,7 +209,7 @@ def test_events(shoelaces_instance): 'cloudconfig': 'virtual', 'hostname': '06-66-de-ad-be-ef', 'version': '666.0'}, - 'script': 'coreos.ipxe'}) + 'script': 'flatcar.ipxe'}) POLL_PAIRS = [(None, "poll.txt"), @@ -229,9 +229,9 @@ def test_poll(shoelaces_instance, params, expected): assert poll.read() == req.text -TPL_VARS_PAIRS = [("coreos.ipxe", "", ["cloudconfig", "version"]), - ("coreos.ipxe", "default", ["cloudconfig", "version"]), - ("coreos.ipxe", "production", ["cloudconfig", "version", "hostname"])] +TPL_VARS_PAIRS = [("flatcar.ipxe", "", ["cloudconfig", "version"]), + ("flatcar.ipxe", "default", ["cloudconfig", "version"]), + ("flatcar.ipxe", "production", ["cloudconfig", "version", "hostname"])] @pytest.mark.parametrize(("script", "env", "vars"), TPL_VARS_PAIRS) -- cgit v1.2.3