Created
October 20, 2022 10:42
-
-
Save c3d/cb09a0dc46d456d01cdbc227602efaea to your computer and use it in GitHub Desktop.
agent-tls-ctl example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
${agent-tls-ctl} -l trace connect --no-auto-values --bundle-dir "${bundle_dir}" --server-address ”ipaddr://${guest_ip}:${agent_port}" -c "ExecProcess json://{\"container_id\": \"${container_id}\", \"exec_id\": \"${exec_id}\", \"process\":{ \"Terminal\": true, \"User\": { }, \"Args\": [ \"sh\", \"-c\", \"echo test\" ] , \"Env\": [ \"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\" , \"HOSTNAME=some-host\" , \"TERM=xterm\" ] , \"Cwd\": \"/\" }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment