networking-configuration: don't check serverstatus

This commit is contained in:
tv 2015-05-20 21:10:09 +02:00
parent cb8398ada9
commit 4c00375cb2

View File

@ -33,14 +33,6 @@ main() {
config=$(echo $listservers \ config=$(echo $listservers \
| jq -r ".data|map(select(.servername == \"$cac_servername\"))[]") | jq -r ".data|map(select(.servername == \"$cac_servername\"))[]")
serverstatus=$(echo $config | jq -r .status)
case $serverstatus in
'Powered On') : ;;
*)
echo $0: bad server status: $serverstatus >&2
exit 2
esac
print_networking_configuraton "$config" print_networking_configuraton "$config"
} }