mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 12:33:02 +02:00
Let's drop the leading IETF or Infix prefixes from tests. Initially the idea was to mimnic the YANG models, but it's difficult to navigate and does not provide any real benefit to developers or end-users. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
26 lines
727 B
Plaintext
26 lines
727 B
Plaintext
=== Host Command Execution from Container
|
|
|
|
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/containers/host_commands]
|
|
|
|
==== Description
|
|
|
|
This test verifies that a container in privileged mode can break out of
|
|
the container to 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
|
|
|
|
|