Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/ipmi-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,20 @@ ipmitool -I lan -U admin -P password -H testvm-virtbmc.default.svc.cluster.local
```bash
ipmitool -I lan -U admin -P password -H testvm-virtbmc.default.svc.cluster.local chassis bootdev disk
```

### Set Boot to CD-ROM

```bash
ipmitool -I lan -U admin -P password -H testvm-virtbmc.default.svc.cluster.local chassis bootdev cdrom
```

### Supported Boot Devices

| Device | Description |
|--------|-------------|
| `pxe` | Network boot (PXE) |
| `disk` | Boot from disk |
| `cdrom` | Boot from CD-ROM |

## Next Steps

Expand Down
15 changes: 15 additions & 0 deletions docs/redfish-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,21 @@ curl -i -X PATCH \
}'
```

### Set Boot to CD-ROM (One-time)

```bash
curl -i -X PATCH \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $TOKEN" \
http://testvm-virtbmc.default.svc.cluster.local/redfish/v1/Systems/1 \
-d '{
"Boot": {
"BootSourceOverrideTarget": "Cd",
"BootSourceOverrideEnabled": "Once"
}
}'
```

### Set Boot Mode

```bash
Expand Down
28 changes: 28 additions & 0 deletions docs/virtual-media.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,34 @@ curl -i -X POST \
}'
```

## Booting from Virtual Media

After inserting virtual media, a DataVolume is created and the ISO image begins downloading. Once the download is complete, configure the VM to boot from the CD-ROM and restart it:

```bash
# Watch the DataVolume download progress
kubectl get datavolume testvm -n default -w

# Set boot override to CD-ROM
curl -i -X PATCH \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $TOKEN" \
http://testvm-virtbmc.default.svc/redfish/v1/Systems/1 \
-d '{
"Boot": {
"BootSourceOverrideTarget": "Cd",
"BootSourceOverrideEnabled": "Once"
}
}'

# Restart the VM to boot from CD-ROM
curl -i -X POST \
-H "Content-Type: application/json" \
-H "X-Auth-Token: $TOKEN" \
http://testvm-virtbmc.default.svc/redfish/v1/Systems/1/Actions/ComputerSystem.Reset \
-d '{"ResetType":"GracefulRestart"}'
```

### Request Parameters

| Parameter | Type | Required | Description |
Expand Down