chore: add worker args

This commit is contained in:
jialin
2024-08-07 12:04:04 +08:00
parent 7daac41835
commit a04773d487
+1 -1
View File
@@ -26,7 +26,7 @@ export const addWorkerGuide = {
getToken:
'Get-Content -Path (Join-Path -Path $env:APPDATA -ChildPath "gpustack\\token") -Raw',
registerWorker(server: string) {
return `Invoke-Expression "& { $((Invoke-WebRequest -Uri "https://get.gpustack.ai" -UseBasicParsing).Content) } -ServerURL ${server} -Token mytoken"`;
return `Invoke-Expression "& { $((Invoke-WebRequest -Uri "https://get.gpustack.ai" -UseBasicParsing).Content) } --server-url ${server} --token mytoken"`;
}
}
};