aboutsummaryrefslogtreecommitdiff
path: root/test/integ-test/integ_test.py
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2026-06-05 18:04:23 -0300
committerRaul Benencia <46945030+raul-te@users.noreply.github.com>2026-06-05 21:19:48 -0300
commitbd19522778257e41d23ac15a5adfc35455f9e310 (patch)
treea7c57be18645f27754939df27dd693081cbd9935 /test/integ-test/integ_test.py
parentf8e69cddb3a2a18100d3093f27c709c4361c1692 (diff)
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.
Diffstat (limited to 'test/integ-test/integ_test.py')
-rwxr-xr-xtest/integ-test/integ_test.py10
1 files changed, 5 insertions, 5 deletions
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)
nihil fit ex nihilo