Skip to content

Commit f9b1e83

Browse files
authored
Merge pull request #495 from sej7278/master
Added the requirement for /etc/tuxcare-release
2 parents 1c1be0b + c68f6ed commit f9b1e83

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

docs/local-mirror-els/README.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- markdownlint-disable MD040 -->
1+
<!-- markdownlint-disable MD040 MD033 -->
22

33
# Installation instructions of a local mirror with ELS updates
44

@@ -251,10 +251,7 @@ For example:
251251
rsync -avSHP --delete rsync://repo.tuxcare.com/TUXCARE96ESU/ .
252252
```
253253

254-
:::tip Note
255-
When configuring machines to use a local mirror for the TuxCare 9.6 ESU repository, set `priority=1` in the `tuxcare-esu` repo so ESU packages override the standard repos.
256-
257-
Example `/etc/yum.repos.d/tuxcare-esu.repo` file for TuxCare 9.6 ESU:
254+
When configuring machines to use a local mirror for the TuxCare 9.6 ESU repository, set `priority=1` in the `tuxcare-esu` repo so ESU packages override the standard repos. Below is an example `/etc/yum.repos.d/tuxcare-esu.repo` file for TuxCare 9.6 ESU:
258255

259256
```
260257
[tuxcare-esu96]
@@ -267,4 +264,19 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-TuxCare
267264
priority=1
268265
```
269266

270-
:::
267+
:::tip Note
268+
269+
Vulnerability scanners will often look for the information stored in /etc/tuxcare-release, however if you're using a local mirror you may not have installed the tuxcare-release package, so you should create the file with the correct OS name and version info like so:
270+
271+
```
272+
source /etc/os-release
273+
echo "TuxCare Enterprise Support for ${NAME} release ${VERSION_ID}" > /etc/tuxcare-release
274+
```
275+
276+
Or simply hardcode it as one of these (if using Ansible to roll out config for example):
277+
278+
* `TuxCare Enterprise Support for AlmaLinux release 9.2`
279+
* `TuxCare Enterprise Support for AlmaLinux release 9.6`
280+
* `TuxCare Enterprise Support for Rocky Linux release 9.6`
281+
282+
:::

0 commit comments

Comments
 (0)