Set OS variables for later use

In the actual installation docs which are included, it may be necessary to
differentiate between individual steps depending on the operating system.
This commit is contained in:
Eric Lippmann 2024-10-02 13:35:43 +02:00
parent 9608352696
commit a5396f2131
8 changed files with 16 additions and 0 deletions

View File

@ -37,4 +37,6 @@ Use your distribution's package manager to install the `<!-- {{ package }} -->`
```bash
yum install <!-- {{ package }} -->
```
<!-- {% set amazon_linux = True %} -->
<!-- {% include "02-Installation.md" %} -->

View File

@ -39,4 +39,8 @@ Use your distribution's package manager to install the `<!-- {{ package }} -->`
```bash
apt install <!-- {{ package }} -->
```
<!-- {% if not raspberry_pi_os %} -->
<!-- {% set debian = True %} -->
<!-- {% endif %} -->
<!-- {% include "02-Installation.md" %} -->

View File

@ -23,4 +23,6 @@ Use your distribution's package manager to install the `<!-- {{ package }} -->`
```bash
dnf install <!-- {{ package }} -->
```
<!-- {% set fedora = True %} -->
<!-- {% include "02-Installation.md" %} -->

View File

@ -30,4 +30,5 @@ Use your distribution's package manager to install the `<!-- {{ package }} -->`
dnf install <!-- {{ package }} -->
```
<!-- {% set rhel = True %} -->
<!-- {% include "02-Installation.md" %} -->

View File

@ -1,4 +1,5 @@
# Installing <!-- {{ product }} --> on Raspberry Pi OS (64-bit only)
<!-- {% set raspberry_pi_os = True %} -->
<!-- {% set disable_header = True %} -->
<!-- {% include "02-Installation.md.d/Debian.md" %} -->

View File

@ -29,4 +29,6 @@ Use your distribution's package manager to install the `<!-- {{ package }} -->`
```bash
zypper install <!-- {{ package }} -->
```
<!-- {% set sles = True %} -->
<!-- {% include "02-Installation.md" %} -->

View File

@ -37,4 +37,6 @@ Use your distribution's package manager to install the `<!-- {{ package }} -->`
```bash
apt install <!-- {{ package }} -->
```
<!-- {% set ubuntu = True %} -->
<!-- {% include "02-Installation.md" %} -->

View File

@ -22,4 +22,6 @@ Use your distribution's package manager to install the `<!-- {{ package }} -->`
```bash
zypper install <!-- {{ package }} -->
```
<!-- {% set opensuse = True %} -->
<!-- {% include "02-Installation.md" %} -->