Skip to content

Commit 1b460c2

Browse files
committed
resolves #1, resolves #2; Merge remote-tracking branch 'origin/feat/lxc'
2 parents 2d4eb6c + 1d4d77a commit 1b460c2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/api-wrapper.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ _pve-api-wrapper can definitely be installed somewhere else but some functionali
1111
The installation script installs the `pve-api-wrapper` binary into `/usr/local/bin`.
1212

1313
```bash
14-
curl https://raw.githubusercontent.com/iolave/go-proxmox/refs/tags/latest/scripts/install.sh | sh
14+
curl https://raw.githubusercontent.com/iolave/go-proxmox/refs/heads/master/scripts/install.sh | bash
1515
```
1616

1717
_Inspect the installation script code [here]._
@@ -40,7 +40,7 @@ pve-api-wrapper [--version] [--pve-host PVE-HOST] [--pve-port PVE-PORT] [--pve-h
4040
- `--crt` api wrapper tls crt path (default:`/etc/pve/local/pve-ssl.pem`).
4141
- `--key` api wrapper tls key path (default:`/etc/pve/local/pve-ssl.key`).
4242

43-
[here]: https://github.com/iolave/go-proxmox/blob/latest/scripts/install.sh
43+
[here]: https://github.com/iolave/go-proxmox/blob/master/scripts/install.sh
4444
<!--
4545
TODO: host the shell script within the docs https://github.com/squidfunk/mkdocs-material/discussions/3458
4646
-->

scripts/install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
os=""
24
arch=""
35

@@ -34,5 +36,5 @@ if [[ "$status_code" != "200" ]]; then
3436
exit 1
3537
fi
3638

37-
sudo curl -L -o $bin $url
39+
curl -L -o $bin $url
3840
chmod +x $bin

0 commit comments

Comments
 (0)