++ " "
This commit is contained in:
parent
ffc507204b
commit
fb3e1ca263
1 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ fi
|
|||
for notebook in nb1 nb2 nb3 bridge line hike freiheit; do
|
||||
found=""
|
||||
|
||||
echo "Looking for ${notebook}"
|
||||
printf "Looking for ${notebook} ... "
|
||||
for place in place7 place10; do
|
||||
if [ -z "$found" ]; then
|
||||
fqdn=${notebook}.${place}.ungleich.ch
|
||||
|
@ -18,9 +18,9 @@ for notebook in nb1 nb2 nb3 bridge line hike freiheit; do
|
|||
done
|
||||
|
||||
if [ "$found" ]; then
|
||||
echo Found ${notebook} in ${found}
|
||||
echo found ${notebook} in ${found}: ${fqdn}
|
||||
ssh nico@${fqdn} ${cmd}
|
||||
else
|
||||
echo "Did not reach ${notebook}"
|
||||
echo "did not reach ${notebook}."
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue