Skip to content

Commit 7baaf62

Browse files
author
Harika
committed
update custom iso readme
1 parent 84f96b6 commit 7baaf62

3 files changed

Lines changed: 30 additions & 13 deletions

File tree

third_party/Dell/ubuntu-22.04/EI/single-node/user-guide-apisix.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@ deploy_istio=off
181181
uninstall_ceph=off
182182
```
183183

184-
To support non-interactive execution of inference-stack-deploy.sh, create a file named "core/inentory/.become-passfile" with your user's sudo password:
184+
To support non-interactive execution of inference-stack-deploy.sh, create a file named "core/inventory/.become-passfile" with your user's sudo password:
185185
186186
```bash
187-
vi core/inentory/.become-passfile
188-
chmod 600 core/inentory/.become-passfile
187+
vi core/inventory/.become-passfile
188+
chmod 600 core/inventory/.become-passfile
189189
```
190190
**Update hosts.yaml File**
191191
@@ -266,7 +266,7 @@ If a valid token is returned (long JWT string), the environment is ready for inf
266266
> Note: Replace ${BASE_URL} with your DNS
267267
268268
```bash
269-
curl -k ${BASE_URL}/Llama-3.1-8B-Instruct/v1/completions \
269+
curl -k https://${BASE_URL}/Llama-3.1-8B-Instruct/v1/completions \
270270
-X POST \
271271
-d '{"model": "meta-llama/Llama-3.1-8B-Instruct", "prompt": "What is Deep Learning?", "max_tokens": 25, "temperature": 0}' \
272272
-H 'Content-Type: application/json' \

third_party/Dell/ubuntu-22.04/EI/single-node/user-guide-genai.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Reference the litellm_master_key file under core/inventory/metadata/vault.yml fo
225225

226226
**Run a test query for Gaudi:**
227227
```bash
228-
curl -k ${BASE_URL}/Llama-3.1-8B-Instruct/v1/completions \
228+
curl -k https://${BASE_URL}/v1/completions \
229229
-X POST \
230230
-H "Content-Type: application/json" \
231231
-H "Authorization: Bearer <<master-key>>" \
@@ -239,8 +239,8 @@ curl -k ${BASE_URL}/Llama-3.1-8B-Instruct/v1/completions \
239239

240240
**Run a test query for CPU:**
241241
```bash
242-
curl -k ${BASE_URL}/Llama-3.1-8B-Instruct-vllmcpu/v1/completions \
243-
-X POST \
242+
curl -k https://${BASE_URL}/v1/completions \
243+
-X POST \
244244
-H "Content-Type: application/json" \
245245
-H "Authorization: Bearer <<master-key>>" \
246246
-d '{

third_party/Dell/ubuntu-22.04/iac/iso/README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,38 @@ brew install xorriso rsync
3737

3838
## Usage
3939

40-
The script requires `--hostname`, `--username`, and `--password-hash`. All other values have defaults.
40+
### Change permission to your file
41+
```bash
42+
chmod +x custom-iso.sh
43+
```
44+
45+
**Use this if you do not already have the Ubuntu ISO downloaded**
46+
47+
set `--hostname`, `--username`, `--password-hash`. All other values have defaults.
48+
49+
The script will automatically download ubuntu iso.
50+
```bash
51+
sudo ./custom-iso.sh \
52+
--hostname=ubuntu-server-001 \
53+
--username=user \
54+
--password-hash=Replace-with-your-password-hash
55+
```
56+
4157

42-
Basic example using a local ISO:
58+
**Use this if you already have downloaded ubuntu ISO locally:**
4359

4460
```bash
45-
./custom-iso.sh \
61+
sudo ./custom-iso.sh \
4662
--hostname=ubuntu-server-001 \
4763
--username=user \
48-
--iso=./ubuntu-22.04.5-live-server-amd64.iso
64+
--password-hash=Replace-with-your-password-hash \
65+
--iso=Replace-with-path-to-your-local-iso
4966
```
5067

5168
Full example with all options:
5269

5370
```bash
54-
./custom-iso.sh \
71+
sudo ./custom-iso.sh \
5572
--hostname=ubuntu-server-001 \
5673
--username=user \
5774
--password-hash='$6$Sl0xydNgA3rBk1Uo$Pj7oVVI7smkdBh20V8EyLivWpKDHFueUhvrfwxundGp/DQrAuTHjIxnrCZIMVJ1zcTIJ7VgIWKu0mUZmiRsqv0' \
@@ -63,7 +80,6 @@ Full example with all options:
6380
--storage-layout=direct \
6481
--instance-id=ubuntu-server-001 \
6582
--packages='' \
66-
--iso=./ubuntu-22.04.5-live-server-amd64.iso \
6783
--iso-url=https://releases.ubuntu.com/jammy/ubuntu-22.04.5-live-server-amd64.iso \
6884
--iso-name=ubuntu-22.04.5-live-server-amd64.iso \
6985
--out-iso=ubuntu-22.04.5-autoinstall.iso \
@@ -72,6 +88,7 @@ Full example with all options:
7288

7389
Notes:
7490
- If `--iso` is provided, `--iso-url` and `--iso-name` are ignored.
91+
- If `--iso` is not provided, the script downloads the ISO using --iso-url.
7592
- If `--ssh-key` is empty, no SSH key is embedded.
7693
- `--packages` is a comma-separated list (e.g., `--packages=openssh-server,curl`).
7794
- `--volid` must be 32 characters or fewer.

0 commit comments

Comments
 (0)