Document /api/msd/set_params?rw=1 (#1429)

Fixes https://github.com/pikvm/pikvm/issues/1428
This commit is contained in:
Brendan Jackman 2024-11-26 12:52:24 +01:00 committed by GitHub
parent 5dbfe58b81
commit b053b8c948
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -380,6 +380,7 @@ Parameters:
* `image=...` *(optional)* - Change the current image. * `image=...` *(optional)* - Change the current image.
* `cdrom=1|0` *(optional)* - Change the media type to the CD-ROM on `1`, otherwise to the Flash. * `cdrom=1|0` *(optional)* - Change the media type to the CD-ROM on `1`, otherwise to the Flash.
* `rw=0|1` *(optional)* - Make the MSD read-write on `1`, otherwise read-only. Ignored (always read-only) when `cdrom=1`.
``` ```
$ curl -X POST -k -u admin:admin "https://<pikvm-ip>/api/msd/set_params?image=test.iso&cdrom=1" $ curl -X POST -k -u admin:admin "https://<pikvm-ip>/api/msd/set_params?image=test.iso&cdrom=1"