cdist/doc/internal/explorer-implementation-ideas

13 lines
237 B
Text
Raw Normal View History

1) safer and fast version
cat blob | ssh host > tmp;
for var in ...
var=grep ^var= tmp
2) slow & secure
for var in ...
eval var=$(cat single_blob | ssh host"
3) easy & insecure
cat blob | ssh host > tmp; . tmp