diff --git a/HACKERS_README b/HACKERS_README index 6ba3fbf9..04a09d53 100755 --- a/HACKERS_README +++ b/HACKERS_README @@ -33,11 +33,12 @@ set -x export PATH="$PATH:$(pwd -P)/bin" export __cdist_conf_dir="$(pwd -P)/conf" -export __cdist_local_base_dir=/tmp/localhost - -# Allow user to suply hostname +# Allow user to supply hostname target="${1:-localhost}" +# And use hostname as basedir (dangerous, but hackers know what they do) +export __cdist_local_base_dir="/tmp/$target" + # Run the real script cdist-deploy-to "$target"