@@ -33,12 +33,14 @@ nix/test-guest/
3333├── cache-lib.sh
3434├── cache-seal.sh
3535├── distros/
36- │ ├── ubuntu.nix
36+ │ ├── ubuntu-24-04.nix
37+ │ ├── ubuntu-26-04.nix
3738│ ├── centos.nix
3839│ ├── fedora.nix
3940│ └── rocky.nix
4041└── configuration/
4142 ├── docker.yml
43+ ├── podman-rootless.yml
4244 ├── podman.yml
4345 └── selinux.yml
4446```
@@ -56,12 +58,13 @@ The root [`flake.nix`](../../flake.nix) exposes this directory as the `test-gues
5658
5759## Supported configurations
5860
59- | Distro | Docker | Podman | SELinux | Package format |
60- | --- | --- | --- | --- | --- |
61- | Ubuntu 24.04 | Yes | Yes | No | ` .deb ` |
62- | CentOS Stream 10 | No | Yes | Yes | ` .rpm ` |
63- | Fedora 44 | No | Yes | Yes | ` .rpm ` |
64- | Rocky Linux 9 | Yes | Yes | Yes | ` .rpm ` |
61+ | Distro | Docker | Podman | Rootless Podman | SELinux | Package format |
62+ | --- | --- | --- | --- | --- | --- |
63+ | Ubuntu 24.04 | Yes | Yes | No | No | ` .deb ` |
64+ | Ubuntu 26.04 | Yes | Yes | Yes | No | ` .deb ` |
65+ | CentOS Stream 10 | No | Yes | No | Yes | ` .rpm ` |
66+ | Fedora 44 | No | Yes | No | Yes | ` .rpm ` |
67+ | Rocky Linux 9 | Yes | Yes | No | Yes | ` .rpm ` |
6568
6669The ` snapd ` configuration is available for Ubuntu and prepares snapd for
6770local Snap lifecycle experiments. It does not install Docker, because the Snap
@@ -70,8 +73,8 @@ interface rather than the host-package Docker configuration.
7073
7174The Ubuntu 24.04 Podman configuration is available for runtime and packaging
7275checks, but its Podman 4 release does not provide the ` pasta ` rootless network
73- helper required by OpenShell sandbox callbacks. OpenShell Podman E2E runs use
74- the Fedora guest, which provides Podman 5 and ` pasta ` .
76+ helper required by OpenShell sandbox callbacks. Rootless Podman E2E uses the
77+ Ubuntu 26.04 guest with ` --with podman-rootless ` .
7578
7679List the available distros and configurations:
7780
@@ -84,13 +87,13 @@ nix run .#test-guest -- --list
8487Boot a base Ubuntu VM:
8588
8689``` shell
87- nix run .# test-guest -- --distro ubuntu
90+ nix run .# test-guest -- --distro ubuntu-24-04
8891```
8992
9093Apply the Docker configuration before opening the SSH session:
9194
9295``` shell
93- nix run .# test-guest -- --distro ubuntu --with docker
96+ nix run .# test-guest -- --distro ubuntu-24-04 --with docker
9497```
9598
9699Other combinations use the same interface:
@@ -99,13 +102,14 @@ Other combinations use the same interface:
99102nix run .# test-guest -- --distro rocky --with docker
100103nix run .# test-guest -- --distro centos --with podman
101104nix run .# test-guest -- --distro fedora --with podman
105+ nix run .# test-guest -- --distro ubuntu-26-04 --with podman-rootless
102106```
103107
104108Configurations are repeatable:
105109
106110``` shell
107111nix run .# test-guest -- \
108- --distro ubuntu \
112+ --distro ubuntu-24-04 \
109113 --with docker \
110114 --with podman
111115```
@@ -138,7 +142,7 @@ The `test-guest-cache` app ensures a prepared disk exists for one exact distro,
138142
139143``` shell
140144nix run .# test-guest-cache -- \
141- --distro ubuntu \
145+ --distro ubuntu-24-04 \
142146 --with docker
143147```
144148
@@ -147,7 +151,7 @@ backing cache:
147151
148152``` shell
149153nix run .# test-guest-cache -- \
150- --distro ubuntu \
154+ --distro ubuntu-24-04 \
151155 --with docker \
152156 --repository ghcr.io/nvidia/openshell/test-guest-cache \
153157 --digest sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
@@ -157,7 +161,7 @@ The command never publishes implicitly. Add `--push` after authenticating ORAS t
157161
158162``` shell
159163nix run .# test-guest-cache -- \
160- --distro ubuntu \
164+ --distro ubuntu-24-04 \
161165 --with docker \
162166 --repository ghcr.io/nvidia/openshell/test-guest-cache \
163167 --push
@@ -184,7 +188,7 @@ The default cache directory is `${XDG_CACHE_HOME:-$HOME/.cache}/openshell/test-g
184188Cache command options:
185189
186190``` text
187- --distro NAME Base distro: ubuntu, centos, fedora, or rocky
191+ --distro NAME Base distro: ubuntu-24-04, ubuntu-26-04 , centos, fedora, or rocky
188192--with NAME Apply docker, podman, or selinux; repeatable
189193--repository REF OCI repository without a tag
190194--digest DIGEST Trusted OCI manifest digest required for pulls
@@ -209,7 +213,7 @@ Install the package in an Ubuntu VM and run a command:
209213
210214``` shell
211215nix run .# test-guest -- \
212- --distro ubuntu \
216+ --distro ubuntu-24-04 \
213217 --with docker \
214218 --install artifacts/openshell_0.0.0-local_arm64.deb \
215219 -- openshell --version
@@ -226,7 +230,7 @@ guest file preserves the source's ordinary permission bits:
226230
227231``` shell
228232nix run .# test-guest -- \
229- --distro ubuntu \
233+ --distro ubuntu-24-04 \
230234 --copy ./openshell:/usr/local/bin/openshell \
231235 -- openshell --version
232236```
@@ -259,7 +263,7 @@ The destination must be an absolute guest path. Copied files are installed with
259263## Runner options
260264
261265``` text
262- --distro NAME Base distro: ubuntu, centos, fedora, or rocky
266+ --distro NAME Base distro: ubuntu-24-04, ubuntu-26-04 , centos, fedora, or rocky
263267--with NAME Apply docker, podman, or selinux; repeatable
264268--install PATH Install a .deb or .rpm package; repeatable
265269--copy SRC:DEST Copy a regular file into the guest, preserving its host mode;
0 commit comments