Adding rm/del instruction for agents.

This commit is contained in:
Erik Brakkee 2024-07-30 19:04:46 +02:00
parent bf5120aa5b
commit c1e91f0aba

View File

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