Skip to content

Commit 357f7e2

Browse files
wtripp180901sjpb
andauthored
docs suggestions
Co-authored-by: Steve Brasier <[email protected]>
1 parent 1ba41d8 commit 357f7e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/operations.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ By default, the following utility packages are installed during build:
7474
- postfix
7575
- git
7676
- latest python version for system (3.6 for for Rocky 8.9 and 3.12 for Rocky 9.4)
77-
Additional packages from any DNF repositories which are enabled during build (which always includes EPEL, PowerTools and OpenHPC) can be added to the image by defining a list `appliances_other_extra_package` (defaulted to the empty list in the common environment) in e.g. `environments/$SITE_ENV/inventory/group_vars/all/defaults.yml`. For example:
7877

78+
Additional packages from any DNF repositories which are enabled during build (which always includes EPEL, PowerTools and OpenHPC) can be added to the image by defining a list `appliances_other_extra_packages` (defaulted to the empty list in the common environment) in e.g. `environments/$SITE_ENV/inventory/group_vars/all/defaults.yml`. For example:
79+
80+
```yaml
7981
# environments/foo-base/inventory/group_vars/all/defaults.yml:
8082
appliances_other_extra_package:
8183
- somepackage
@@ -84,7 +86,7 @@ Additional packages from any DNF repositories which are enabled during build (wh
8486

8587
The packages available from the OpenHPC repos are described in Appendix E of the OpenHPC installation guide (linked from the [OpenHPC releases page](https://github.com/openhpc/ohpc/releases/)). Note "user-facing" OpenHPC packages such as compilers, mpi libraries etc. include corresponding `lmod` modules.
8688

87-
If you wish to install packages during runtime, the `site.yml` playbook should be run `appliances_packages_during_configure` overriden to `true` and `cluster` should be added as a child of the `dnf_repos` group in order to temporarily re-enabled DNF repositories during runtime (WARNING: this should only be done if using an unauthenticated local Pulp server. If using StackHPC Ark directly, doing this WILL leak credentials to users).
89+
If you wish to install packages during runtime, the `site.yml` playbook should be run with `appliances_packages_during_configure` overriden to `true` and `cluster` should be added as a child of the `dnf_repos` group in order to temporarily re-enable DNF repositories during runtime (WARNING: this should only be done if using an unauthenticated local Pulp server. If using StackHPC Ark directly, doing this WILL leak credentials to users).
8890

8991
If additional repositories are required, these could be added/enabled as necessary in a play added to `environments/$SITE_ENV/hooks/{pre,post}.yml` as appropriate. Note such a plat should NOT exclude the builder group, so that the repositories are also added to built images. There are various Ansible modules which might be useful for this:
9092
- `ansible.builtin.yum_repository`: Add a repo from an URL providing a 'repodata' directory.

0 commit comments

Comments
 (0)