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.
19 lines
258 B
19 lines
258 B
8 years ago
|
#!/bin/bash
|
||
|
|
||
|
mkdir -p host-config
|
||
|
|
||
|
# List of execution hosts
|
||
|
EXECHOSTS=$(qconf -sel)
|
||
|
|
||
|
echo "Exec hosts:"
|
||
|
qconf -sel
|
||
|
echo ""
|
||
|
|
||
|
for H in $EXECHOSTS; do
|
||
|
#H=${H%.cm.cluster}
|
||
|
qconf -se $H > host-config/$H.txt
|
||
|
echo "$H::"
|
||
|
cat host-config/$H.txt
|
||
|
echo
|
||
|
done
|