networking-configuration: don't check serverstatus
This commit is contained in:
parent
cb8398ada9
commit
4c00375cb2
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user