You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
|
|
outfile="$1"; shift
|
|
|
|
(
|
|
for host in "$@"; do
|
|
hosts="$hosts $host"
|
|
cdist config -c ~/p/cdist-nutzung -p $hosts
|
|
done
|
|
) | tee "$outfile"
|
|
echo "----------"
|
|
grep 'INFO: Total processing time for' "$outfile" | sed 's/.*: //'
|
|
|