Update pve RustDesk GA sync scripts
This commit is contained in:
@@ -1,30 +1,27 @@
|
||||
# Temporary public Gitea repo for curling pve install scripts (delete when fleet rollout is done).
|
||||
# Raw URLs:
|
||||
# https://git.easygoingaming.com/Davoguha/blair-pve-sync-temp/raw/main/install.sh
|
||||
# https://git.easygoingaming.com/Davoguha/blair-pve-sync-temp/raw/main/blair-sync-rustdesk-via-ga.sh
|
||||
# Temporary public Gitea repo — pve curl install for Blair RustDesk GA sync.
|
||||
# Delete or make private after fleet rollout.
|
||||
|
||||
## pve install (one command)
|
||||
## Architecture (canonical)
|
||||
|
||||
- **pve only:** `/usr/local/sbin/blair-sync-rustdesk-via-ga.sh` every **2 minutes**
|
||||
- **Per seat:** QEMU guest agent only (no scheduled reporter task, no share JSON)
|
||||
- Reads `RustDesk2.toml` via GA file-read; PowerShell exec fallback
|
||||
|
||||
## pve install / upgrade
|
||||
|
||||
```bash
|
||||
curl -fsSL https://git.easygoingaming.com/Davoguha/blair-pve-sync-temp/raw/main/install.sh | bash
|
||||
```
|
||||
|
||||
Prerequisite: VM 230 running, `qm guest cmd 230 ping` OK.
|
||||
|
||||
## Manual test
|
||||
|
||||
```bash
|
||||
/usr/local/sbin/blair-sync-rustdesk-via-ga.sh --dry-run
|
||||
BLAIR_VERBOSE=1 BLAIR_VMIDS=230 /usr/local/sbin/blair-sync-rustdesk-via-ga.sh --dry-run
|
||||
BLAIR_VERBOSE=1 /usr/local/sbin/blair-sync-rustdesk-via-ga.sh --dry-run
|
||||
BLAIR_VMIDS=230 /usr/local/sbin/blair-sync-rustdesk-via-ga.sh
|
||||
tail -20 /var/log/blair-rustdesk-sync.log
|
||||
```
|
||||
|
||||
Re-install after updates:
|
||||
## Deprecates
|
||||
|
||||
```bash
|
||||
curl -fsSL https://git.easygoingaming.com/Davoguha/blair-pve-sync-temp/raw/main/install.sh | bash
|
||||
```
|
||||
|
||||
## Delete this repo when done
|
||||
|
||||
Make private or delete from Gitea after fleet rollout.
|
||||
- `sync-rustdesk-proxmox-notes.sh` (share report reader)
|
||||
- Per-VM `Blair\Register-RustDeskId` scheduled task (optional to remove)
|
||||
|
||||
Reference in New Issue
Block a user