wwctl image exec

Run a command inside of a Warewulf image

Synopsis

Run a COMMAND inside of a warewulf IMAGE. This is commonly used with an interactive shell such as /bin/bash to run a virtual environment within the image.

wwctl image exec [OPTIONS] IMAGE COMMAND

Options

-b, --bind stringArray   source[:destination[:{ro|copy}]]
                         Bind a local path which must exist into the image. If destination is not
                         set, uses the same path as source. "ro" binds read-only. "copy" temporarily
                         copies the file into the image.
    --build              (Re)build the image automatically (default true)
-h, --help               help for exec
-n, --node string        Create a read only view of the image for the given node
    --syncuser           Synchronize UIDs/GIDs from host to image

Options inherited from parent commands

-d, --debug                 Run with debugging messages enabled.
-v, --verbose               Run with increased verbosity.
    --warewulfconf string   Set the warewulf configuration file

SEE ALSO

Auto generated by spf13/cobra on 29-Jan-2025