diff options
author | Abdulwasiu Apalowo <abdulwasiuapalowo@gmail.com> | 2023-03-29 15:42:15 +0100 |
---|---|---|
committer | Abdulwasiu Apalowo <abdulwasiuapalowo@gmail.com> | 2023-05-03 15:09:02 +0100 |
commit | 596ba5e020c2964ca324cceb8a4834cfe70057cb (patch) | |
tree | c9a00f5e590533be3447b1eafc78b2c2c4b2cd06 /docs/containers.rst | |
parent | b8a809bf6ca5334b337ce599014043d69a734109 (diff) | |
download | libvirt-ci-596ba5e020c2964ca324cceb8a4834cfe70057cb.zip libvirt-ci-596ba5e020c2964ca324cceb8a4834cfe70057cb.tar.gz libvirt-ci-596ba5e020c2964ca324cceb8a4834cfe70057cb.tar.bz2 |
containers: change the mode bits of --script argument
The file passed to --script argument is made an executable file
before mounting it in the container.
The documentation is updated so that users don't have to manually
perform this change.
Signed-off-by: Abdulwasiu Apalowo <abdulwasiuapalowo@gmail.com>
Diffstat (limited to 'docs/containers.rst')
-rw-r--r-- | docs/containers.rst | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/containers.rst b/docs/containers.rst index abaa406..5873b12 100644 --- a/docs/containers.rst +++ b/docs/containers.rst @@ -82,12 +82,8 @@ home directory inside the container, and the working directory is switched to the home directory to make execution easier. The script file is mounted to the *script* file in the home directory -inside the container. Ensure the file is an executable by running: - -:: - - chmod +x <path_to_your_script> - +inside the container. The script is made executable before the mount is +performed. It can also be used as a standalone script (e.g an ``echo hello" script``). |