You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,22 @@ rhel_iso_kickstart
3
3
4
4
This role downloads any RHEL ISO from the [Red Hat Customer Portal](https://access.redhat.com) (or really any ISO) and optionally implants a Kickstart file into a custom ISO
5
5
which is build from the downloaded ISO.
6
-
The role requires a `checksum` to be set; This checksum can be retrieved for any ISO on the Red Hat Customer Portal and can be found on the respective download page of the ISO.
7
-
To download an ISO from the Red Hat Customer Portal you need to be Red Hat subscriber. If you don't own any subscriptions, you can make use of
8
-
[Red Hat's Developer Subscription](https://developers.redhat.com/articles/faqs-no-cost-red-hat-enterprise-linux) which is provided at no cost.
6
+
7
+
The role requires a `checksum` to be set. This checksum can be retrieved for any ISO on the Red Hat Customer Portal and can be found on the respective download page of the ISO.
8
+
To download an ISO from the Red Hat Customer Portal you need to be a Red Hat subscriber. If you don't own any subscriptions, you can make use of
9
+
[Red Hat's Developer Subscription](https://developers.redhat.com/articles/faqs-no-cost-red-hat-enterprise-linux) which is provided at no cost by Red Hat.
9
10
10
11
Once you are able to download from the Red Hat Customer Portal, you need to create a [Red Hat API Token](https://access.redhat.com/management/api) and pass it to this role via
11
12
`api_token`.
12
13
This role is loosely based on the instructions provided by Red Hat which explain how to download ISO images via `curl` from Red Hat's Customer Portal.
Please note, despite the metadata at `meta/main.yml` specifying `EL` (Enterprise Linux) this role specifically works **only** for RHEL ISOs. It can probably modified to work also
17
+
Please note, despite the metadata at `meta/main.yml` specifying `EL` (Enterprise Linux) this role specifically works **only** for RHEL ISOs. It can probably be modified to work also
17
18
with Alma Linux or Rocky Linux, but that's a task somebody else needs to take care of, as I don't use either of those RHEL clones. The process of creating the custom ISO, however,
18
-
*should* remain the same (untested). Unfortunately, specifying `RHEL` is not possible, as it is not a possible operating system to use.
19
+
*should* remain the same (untested).
20
+
21
+
Unfortunately, specifying `RHEL` as the operating system in `meta/main.yml` is not possible, as there is no distinction made between the RHEL clones and RHEL itself.
19
22
20
23
I have probably not tested every combination possible with the variables. If you find an issue, feel free to raise it or provide a pull request to fix it.
21
24
@@ -72,11 +75,11 @@ Role Variables
72
75
73
76
A note on `force_recreate_custom_iso`:
74
77
This variable defines whether to delete the custom ISO before recreating it. Once the custom ISO file exists, it won't be recreated, even if there are changes.
75
-
That's because creating the ISO makes use of the command module and thus the operation is not idempotent, nor can be checked whether the ISO should be recreated due to changes.
78
+
That's because creating the ISO makes use of the command module and thus the operation is not idempotent, nor can it be checked whether the ISO should be recreated due to changes.
76
79
77
80
Depending on the value of `implant_md5`, different menu entries are selected when booting from the ISO:
78
81
* When `implant_md5` is set to `false` the ISO will be booted without checking the MD5 (which would fail)
79
-
* When `implant_md5` is set to `true` the ISO will be booted with `rd.live.check` which will calculate the MD5 checksum of the ISO and compares it against the implanted one
82
+
* When `implant_md5` is set to `true` the ISO will be booted with `rd.live.check` which will calculate the MD5 checksum of the ISO and compare it against the implanted one
0 commit comments