Download dev/tests/python/mkcfg.sh from mchuca/ServerMonitor: direct link, hf CLI and curl.
- Browser
- Download file 523 Bytes
-
https://huggingface.co/mchuca/ServerMonitor/resolve/main/dev/tests/python/mkcfg.sh
- Command line
-
hf download hf://mchuca/ServerMonitor/dev/tests/python/mkcfg.sh
-
curl -L -o mkcfg.sh https://huggingface.co/mchuca/ServerMonitor/resolve/main/dev/tests/python/mkcfg.sh
523 Bytes
| # scratch config: this computer + one unreachable ssh host, autopilot in dry run usage: mkcfg.sh <dir> | |
| rm -rf "$1"; mkdir -p "$1/ServerMonitorPy" | |
| cat > "$1/ServerMonitorPy/servers.json" <<'JSON' | |
| {"version": 1, "servers": [ | |
| {"id": "local0000001", "name": "This computer", "group": "Local", "transport": 0, "autopilot": {"dryRun": true}}, | |
| {"id": "dead00000001", "name": "Unreachable box", "group": "Test", "transport": 1, "host": "127.0.0.1", "port": 1, "user": "nobody", "autopilot": {"dryRun": true}} | |
| ]} | |
| JSON | |