forked from ungleich-public/cdist
port selection of first part into gencode-remote
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
29d4f910bc
commit
9123940255
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
if [ -f "$__object/parameter/name" ]; then
|
if [ -f "$__object/parameter/name" ]; then
|
||||||
name="$(cat "$__object/parameter/name")"
|
name="$(cat "$__object/parameter/name")"
|
||||||
else
|
else
|
||||||
name="$__target_host"
|
name="$(echo "${__target_host%%.*}")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
os=$(cat "$__global/explorer/os")
|
os=$(cat "$__global/explorer/os")
|
||||||
|
|
Loading…
Reference in a new issue