forked from ungleich-public/cdist
use parameters
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
36522e2e39
commit
217c6861e4
1 changed files with 3 additions and 2 deletions
|
@ -23,9 +23,10 @@
|
|||
|
||||
. cdist-config
|
||||
|
||||
set -e
|
||||
[ $# -eq 1 ] || __cdist_usage "target"
|
||||
|
||||
cdist-build-explorer | ssh "$__cdist_intern_target_host" > "${CDIST_TMP}"
|
||||
set -e
|
||||
cdist-build-explorer | ssh "$1" > "${CDIST_TMP}"
|
||||
|
||||
# FIXME: Warning: An untrusted/compromised client could in theory exploit us
|
||||
# And a filter function like grep '^__cdist_explore.*=".*"$'
|
||||
|
|
Loading…
Reference in a new issue