By default, when the TARGET_SOURCE is set to the current directory, all files are copied to the TARGET_DIR. This includes SCRIPT_BEFORE cmd if one was created. Over time, this process results in multiple local_ssh_script-before-* files cluttering up space on the host system.
This pull request addresses this issue by automatically deleting the remoteCmd script after execution.
By default, when the
TARGET_SOURCE
is set to the current directory, all files are copied to theTARGET_DIR
. This includesSCRIPT_BEFORE
cmd if one was created. Over time, this process results in multiplelocal_ssh_script-before-*
files cluttering up space on the host system.This pull request addresses this issue by automatically deleting the remoteCmd script after execution.