diff options
| author | Raúl Benencia <id@rbenencia.name> | 2026-06-05 21:16:30 -0300 |
|---|---|---|
| committer | Raul Benencia <46945030+raul-te@users.noreply.github.com> | 2026-06-05 21:19:48 -0300 |
| commit | 2396e27939f888c579f9540aa4d214f234599ad5 (patch) | |
| tree | b0f2114385f237235c1bf399410cbd8f344a8861 | |
| parent | b0b654751c875868bd8c49867a9dbb0ff9bb49c0 (diff) | |
Add missing Ignition stub templates to test configs
The Flatcar iPXE template references ignition/baremetal and ignition/virtual
endpoints. Without corresponding .slc files in the test data directory those
URLs would 404 on a real boot, even though the integration tests passed
(the URL only appears inside the rendered iPXE script body, not fetched by
the test runner).
| -rw-r--r-- | test/integ-test/integ-test-configs/ignition/baremetal.ign.slc | 11 | ||||
| -rw-r--r-- | test/integ-test/integ-test-configs/ignition/virtual.ign.slc | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/test/integ-test/integ-test-configs/ignition/baremetal.ign.slc b/test/integ-test/integ-test-configs/ignition/baremetal.ign.slc new file mode 100644 index 0000000..3327256 --- /dev/null +++ b/test/integ-test/integ-test-configs/ignition/baremetal.ign.slc @@ -0,0 +1,11 @@ +{{define "ignition/baremetal" -}} +{ + "ignition": { "version": "3.4.0" }, + "passwd": { + "users": [{ "name": "core", "sshAuthorizedKeys": ["ssh-rsa AAAA... user@example.com"] }] + }, + "storage": { + "files": [{ "path": "/etc/hostname", "contents": { "source": "data:,{{.hostname}}" }, "mode": 420 }] + } +} +{{end}} diff --git a/test/integ-test/integ-test-configs/ignition/virtual.ign.slc b/test/integ-test/integ-test-configs/ignition/virtual.ign.slc new file mode 100644 index 0000000..3f46937 --- /dev/null +++ b/test/integ-test/integ-test-configs/ignition/virtual.ign.slc @@ -0,0 +1,11 @@ +{{define "ignition/virtual" -}} +{ + "ignition": { "version": "3.4.0" }, + "passwd": { + "users": [{ "name": "core", "sshAuthorizedKeys": ["ssh-rsa AAAA... user@example.com"] }] + }, + "storage": { + "files": [{ "path": "/etc/hostname", "contents": { "source": "data:,{{.hostname}}" }, "mode": 420 }] + } +} +{{end}} |
