Adding rm/del instruction for agents.

This commit is contained in:
Erik Brakkee 2024-07-30 19:04:46 +02:00
parent 816e8d8609
commit 64f2460bc9

View File

@ -15,10 +15,12 @@ templ Usage(secure string, host string, username string) {
`}curl http{secure}://{host}/static/agent > agent{`
chmod 755 agent
`}./agent --id ID ws{secure}://{host}{`
rm -f agent
# windows
`}curl http{secure}://{host}/static/agent.exe > agent.exe{`
`}agent --id ID ws{secure}://{host}{`
del agent.exe
`}</pre>
<p>
Above, ID is a unique id for the job, the so-called rendez-cous ID. This should not conflict with IDs