port selection of first part into gencode-remote

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remotes/origin/3.0
Nico Schottelius 11 years ago
parent 29d4f910bc
commit 9123940255
  1. 2
      cdist/conf/type/__hostname/gencode-remote

@ -22,7 +22,7 @@
if [ -f "$__object/parameter/name" ]; then
name="$(cat "$__object/parameter/name")"
else
name="$__target_host"
name="$(echo "${__target_host%%.*}")"
fi
os=$(cat "$__global/explorer/os")

Loading…
Cancel
Save