+ungleichconfig

Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-07-28 22:14:01 +02:00
parent c47385d754
commit d1f2eade8f
1 changed files with 14 additions and 0 deletions

14
ungleichconfig Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
if [ $# -lt 1 ]; then
echo "$0 host-to-configure"
exit 1
fi
host=$1
ssh -A ungleich@control.ungleich.ch "
cd ~/.cdist
git pull
git submodule update --init; " '~/cdist/bin/cdist config -vp' "$@"