forked from oscar.krause/fastapi-dls
README.md - added '-L' parameter to curl commands to follow redirects (from deprecated endpoints)
This commit is contained in:
parent
8c515b7f2e
commit
838956bdb7
@ -310,7 +310,7 @@ Successfully tested with this package versions:
|
|||||||
## Linux
|
## Linux
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl --insecure -X GET https://<dls-hostname-or-ip>/client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok
|
curl --insecure -L -X GET https://<dls-hostname-or-ip>/client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok
|
||||||
service nvidia-gridd restart
|
service nvidia-gridd restart
|
||||||
nvidia-smi -q | grep "License"
|
nvidia-smi -q | grep "License"
|
||||||
```
|
```
|
||||||
@ -323,7 +323,7 @@ Now restart `NvContainerLocalSystem` service.
|
|||||||
**Power-Shell**
|
**Power-Shell**
|
||||||
|
|
||||||
```Shell
|
```Shell
|
||||||
curl.exe --insecure -X GET https://<dls-hostname-or-ip>/client-token -o "C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken\client_configuration_token_$($(Get-Date).tostring('dd-MM-yy-hh-mm-ss')).tok"
|
curl.exe --insecure -L -X GET https://<dls-hostname-or-ip>/client-token -o "C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken\client_configuration_token_$($(Get-Date).tostring('dd-MM-yy-hh-mm-ss')).tok"
|
||||||
Restart-Service NVDisplay.ContainerLocalSystem
|
Restart-Service NVDisplay.ContainerLocalSystem
|
||||||
'C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe' -q | Select-String "License"
|
'C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe' -q | Select-String "License"
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user