diff options
author | tv <tv@shackspace.de> | 2015-06-24 14:36:59 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-06-24 15:01:23 +0200 |
commit | 45a0cb01d37e64b4d4d56a7a6769aba61d0fd8f2 (patch) | |
tree | db07acb0a8baa7ee67460e1743461a06a87c0adc /bin/infest-cac | |
parent | bb7343cd89115e0768baaa426c68e49d399f6c6f (diff) |
rewrite infest-cac-CentOS-7-64bit
Diffstat (limited to 'bin/infest-cac')
-rwxr-xr-x | bin/infest-cac | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/infest-cac b/bin/infest-cac deleted file mode 100755 index d7d7bb96c..000000000 --- a/bin/infest-cac +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/sh -set -euf - -server=$(cac-get-server-by servername "$1") -hostname=$2 - -serverstatus=$(echo $server | jq -r .status) -case $serverstatus in - 'Powered On') : ;; - *) - echo $0: bad server status: $serverstatus >&2 - exit 2 -esac - -template=$(echo $server | jq -r .template) -case $template in - 'CentOS-7-64bit') infest-"$template" "$server" "$hostname";; - *) - echo $0: bad template: $template >&2 - exit 3 -esac |