Add wwctl container <exec|shell> --build=false

- Closes #1490
- Closes #1489

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-12-19 02:10:59 -07:00
committed by Christian Goll
parent ebf53bae22
commit 1a3b9a16ed
8 changed files with 46 additions and 24 deletions

View File

@@ -229,7 +229,7 @@ when using the exec command. This works as follows:
.. code-block:: console
# wwctl container exec --bind /tmp:/mnt rocky-8 /bin/sh
# wwctl container shell --bind /tmp:/mnt rocky-8
[rocky-8] Warewulf>
.. note::
@@ -257,7 +257,7 @@ can be specified in ``warewulf.conf``:
When the command completes, if anything within the container changed,
the container will be rebuilt into a bootable static object
automatically.
automatically. (To skip the automatic container rebuild, specify ``--build=false``.)
If the files ``/etc/passwd`` or ``/etc/group`` were updated, there
will be an additional check to confirm if the users are in sync as