Files
infix/test/case/containers/host_commands
Joachim Wiberg d1f053b41c test: minor, update test specifications
Sync with latest updates, including test path changes.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2025-12-02 14:11:00 +01:00
..

=== Host Command Execution from Container

ifdef::topdoc[:imagesdir: {topdoc}../../test/case/containers/host_commands]

==== Description

This test verifies that a container running on Infix can execute commands
that affect the host system. Specifically, it confirms that the container
can change the hostname of the host.

==== Topology

image::topology.svg[Host Command Execution from Container topology, align=center, scaledwidth=75%]

==== Sequence

. Set up topology and attach to target DUT
. Set initial hostname
. Verify initial hostname in operational
. Include script in OCI image to modify host hostname
. Verify container has started
. Verify the new hostname set by the container