From 838956bdb7fb280f3ea86360861d365671a804af Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Mon, 2 Jan 2023 11:40:19 +0100 Subject: [PATCH] README.md - added '-L' parameter to curl commands to follow redirects (from deprecated endpoints) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ca54b10..590c37b 100644 --- a/README.md +++ b/README.md @@ -310,7 +310,7 @@ Successfully tested with this package versions: ## Linux ```shell -curl --insecure -X GET https:///client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok +curl --insecure -L -X GET https:///client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok service nvidia-gridd restart nvidia-smi -q | grep "License" ``` @@ -323,7 +323,7 @@ Now restart `NvContainerLocalSystem` service. **Power-Shell** ```Shell -curl.exe --insecure -X GET https:///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:///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 'C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe' -q | Select-String "License" ```