k 5 cacpanel: bump version to 0.2.3
This commit is contained in:
parent
6e43510441
commit
9ae6642093
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
name = "cacpanel-${version}";
|
name = "cacpanel-${version}";
|
||||||
version = "0.2.1";
|
version = "0.2.3";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/c/cacpanel/cacpanel-${version}.tar.gz";
|
url = "https://pypi.python.org/packages/source/c/cacpanel/cacpanel-${version}.tar.gz";
|
||||||
sha256 = "1zaazg5r10kgva32zh4fhpw6l6h51ijkwpa322na0kh4x6f6aqj3";
|
sha256 = "1fib7416qqv8yzrj75kxra7ccpz9abqh58b6gkaavws2fa6m3mm8";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
@ -29,11 +29,11 @@ trap "$TRAP" INT TERM EXIT
|
|||||||
|
|
||||||
cat > $sec_file <<EOF
|
cat > $sec_file <<EOF
|
||||||
cac_login="$(jq -r .email $krebs_cred)"
|
cac_login="$(jq -r .email $krebs_cred)"
|
||||||
cac_key="$(cac-cli panel --config $krebs_cred settings | jq -r .apicode)"
|
cac_key="$(cac-cli --config $krebs_cred panel settings | jq -r .apicode)"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
export cac_secrets=$sec_file
|
export cac_secrets=$sec_file
|
||||||
cac-cli panel --config $krebs_cred update-api-ip
|
cac-cli --config $krebs_cred panel add-api-ip
|
||||||
|
|
||||||
# test login:
|
# test login:
|
||||||
cac update
|
cac update
|
||||||
|
Loading…
Reference in New Issue
Block a user