__cdist_local_base_dir depending on hostname in HACKERS_README

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.0
Nico Schottelius 14 years ago
parent 7c34ccde99
commit b5e7ee0772
  1. 7
      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"

Loading…
Cancel
Save