diff options
author | tv <tv@krebsco.de> | 2016-02-06 16:24:47 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-06 16:24:47 +0100 |
commit | fbf92edb0e5be4bba59d596d5c74b284de84a5fd (patch) | |
tree | 805a8c1efd64adf7efa72b33704fdca64a4d9862 /krebs/5pkgs | |
parent | b16bfb9c99e6f1f063c5b7358003149db42b70e3 (diff) | |
parent | 4c23e33dea4d9901b64bf287983c43862f4990f2 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'krebs/5pkgs')
-rwxr-xr-x | krebs/5pkgs/test/infest-cac-centos7/notes | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/krebs/5pkgs/test/infest-cac-centos7/notes b/krebs/5pkgs/test/infest-cac-centos7/notes index 7b9cbb46f..b3beb392f 100755 --- a/krebs/5pkgs/test/infest-cac-centos7/notes +++ b/krebs/5pkgs/test/infest-cac-centos7/notes @@ -1,6 +1,4 @@ -#! /bin/sh - -# nix-shell -p gnumake jq openssh cac-api cacpanel +# nix-shell -p gnumake jq openssh cac-api cac-panel set -eufx # 2 secrets are required: @@ -40,11 +38,11 @@ defer "rm -r $krebs_secrets" cat > $sec_file <<EOF cac_login="$(jq -r .email $krebs_cred)" -cac_key="$(cac-cli --config $krebs_cred panel settings | jq -r .apicode)" +cac_key="$(cac-panel --config $krebs_cred settings | jq -r .apicode)" EOF export cac_secrets=$sec_file -cac-cli --config $krebs_cred panel add-api-ip +cac-panel --config $krebs_cred add-api-ip # test login: cac-api update |