From 651af4cc8277a84e30eb12d7567d4ecd628e07ef Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 17 Jan 2023 16:29:21 +0100 Subject: [PATCH] fixed client-token url and added wget als alternative to curl --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b2ae198..22aed43 100644 --- a/README.md +++ b/README.md @@ -206,7 +206,11 @@ Packages are available here: ```shell pacman -Sy FILENAME=/opt/fastapi-dls.pkg.tar.zst -url -o $FILENAME + +curl -o $FILENAME +# or +wget -O $FILENAME + pacman -U --noconfirm fastapi-dls.pkg.tar.zst ``` @@ -267,7 +271,10 @@ Successfully tested with this package versions: ## Linux ```shell -curl --insecure -L -X GET https:///client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token_$(date '+%d-%m-%Y-%H-%M-%S').tok +curl --insecure -L -X GET https:///-/client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token_$(date '+%d-%m-%Y-%H-%M-%S').tok +# or +wget --no-check-certificate -O /etc/nvidia/ClientConfigToken/client_configuration_token_$(date '+%d-%m-%Y-%H-%M-%S').tok https:///-/client-token + service nvidia-gridd restart nvidia-smi -q | grep "License" ``` @@ -280,7 +287,7 @@ Now restart `NvContainerLocalSystem` service. **Power-Shell** ```Shell -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" +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" ```