__cdist_local_base_dir depending on hostname in HACKERS_README

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-02 18:58:16 +01:00
parent 7c34ccde99
commit b5e7ee0772
1 changed files with 4 additions and 3 deletions

View File

@ -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
# 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"