README: fix installer commands to use header-based token auth
This commit is contained in:
parent
d55026aa44
commit
7c25204bd8
1 changed files with 2 additions and 2 deletions
|
|
@ -64,12 +64,12 @@ Get a registration token from **Settings → Token Management**, then:
|
|||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
curl -sfL https://your-server.com/install | sudo bash -s -- your-registration-token
|
||||
curl -sfL -H "X-Registration-Token: your-token" "https://your-server.com/api/v1/install/linux" | sudo bash
|
||||
```
|
||||
|
||||
**Windows:**
|
||||
```powershell
|
||||
iwr https://your-server.com/install.ps1 | iex your-registration-token
|
||||
iwr -Headers @{"X-Registration-Token"="your-token"} "https://your-server.com/api/v1/install/windows" | iex
|
||||
```
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in a new issue