forked from ungleich-public/cdist
add ideas for implementation of explorer
Signed-off-by: Nico Schottelius <nico@yoda.schottelius.org>
This commit is contained in:
parent
986243dc26
commit
37f71db1a7
1 changed files with 12 additions and 0 deletions
12
doc/internal/explorer-ideas
Normal file
12
doc/internal/explorer-ideas
Normal file
|
@ -0,0 +1,12 @@
|
|||
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
|
||||
|
||||
|
Loading…
Reference in a new issue