Skip to content

Commit 218960a

Browse files
author
Harika
committed
update redhat README.md with mount ISO section and update trivy scan version to 0.35.0
Signed-off-by: Harika <codewith3@gmail.com>
1 parent e04cf52 commit 218960a

2 files changed

Lines changed: 67 additions & 4 deletions

File tree

.github/workflows/code-scans.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: mkdir -p trivy-reports
3737

3838
- name: Run Trivy FS Scan
39-
uses: aquasecurity/trivy-action@0.28.0
39+
uses: aquasecurity/trivy-action@0.35.0
4040
continue-on-error: true
4141
with:
4242
scan-type: 'fs'
@@ -47,7 +47,7 @@ jobs:
4747
output: 'trivy-reports/trivy_scan_report.txt'
4848

4949
- name: Run Trivy Image Scan - vllm-cpu
50-
uses: aquasecurity/trivy-action@0.28.0
50+
uses: aquasecurity/trivy-action@0.35.0
5151
continue-on-error: true
5252
with:
5353
scan-type: 'image'

third_party/Dell/redhat9.6/iac/README.md

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,70 @@ The script:
1010

1111
---
1212

13-
## 1. System Requirements
13+
## 1. Mount RHEL ISO (iDRAC Redfish)
14+
15+
**Script:** [iac/mount-iso.sh](../../ubuntu-22.04/iac/mount-iso.sh)
16+
17+
Mounts the **RHEL 9.6 ISO** via the **iDRAC Redfish Virtual Media API**. Idempotent — skips if already mounted.
18+
19+
### Required Environment Variables
20+
```bash
21+
export IDRAC_IP=100.67.x.x
22+
export IDRAC_USER=root
23+
export IDRAC_PASS=calvin
24+
export ISO_URL=https://your-domain.com/rhel-9.6-x86_64-dvd.iso
25+
```
26+
27+
> **Getting the RHEL 9.6 ISO:**
28+
> 1. Log in to the [Red Hat Customer Portal](https://access.redhat.com/downloads) (or sign up for a free [Red Hat Developer Account](https://developers.redhat.com))
29+
> 2. Navigate to **Red Hat Enterprise Linux 9** and download `rhel-9.6-x86_64-dvd.iso`
30+
> 3. Host the ISO on an internal HTTP/HTTPS server reachable by iDRAC
31+
> 4. Set `ISO_URL` to that hosted address
32+
33+
### Mount ISO
34+
```bash
35+
chmod +x ../../ubuntu-22.04/iac/mount-iso.sh
36+
../../ubuntu-22.04/iac/mount-iso.sh
37+
```
38+
39+
---
40+
41+
## 2. Boot RHEL Installer (Terraform + Redfish)
42+
43+
**Script:** [iac/main.tf](../../ubuntu-22.04/iac/main.tf)
44+
45+
Terraform uses the **Dell Redfish provider** to configure a **one-time boot from Virtual Media (CD)** and **force a reboot**.
46+
47+
### Terraform Installation
48+
49+
Install Terraform on your client machine if not already installed: https://developer.hashicorp.com/terraform/install
50+
51+
```bash
52+
terraform version
53+
```
54+
55+
### Terraform Variables
56+
57+
Provide the following in [iac/terraform.tfvars](../../ubuntu-22.04/iac/terraform.tfvars). For all available variables and their defaults, see [iac/variables.tf](../../ubuntu-22.04/iac/variables.tf).
58+
59+
```bash
60+
idrac_endpoint = "https://100.67.x.x"
61+
idrac_user = "root"
62+
idrac_password = "calvin"
63+
idrac_ssl_insecure = true
64+
```
65+
66+
### Apply Terraform
67+
```bash
68+
terraform init
69+
terraform apply
70+
```
71+
72+
After `terraform apply`, the machine will reboot and the RHEL installer starts automatically from the mounted ISO. Follow the on-screen prompts to complete the OS installation.
73+
74+
---
75+
76+
## 3. System Requirements
1477

1578
| Requirement | Description |
1679
|--------------|-------------|
@@ -22,7 +85,7 @@ The script:
2285

2386
---
2487

25-
## 2. Enterprise Inference Deployment
88+
## 4. Enterprise Inference Deployment
2689

2790
Once OS is installed, Download the deploy-enterprise-inference.sh script to your machine using either wget or curl.
2891

0 commit comments

Comments
 (0)