infest & networking: fix deploy from localhost
This commit is contained in:
parent
f7f9c5e0a2
commit
54929ed9d1
2
infest
2
infest
@ -52,7 +52,7 @@ main() {
|
|||||||
cac_listservers() {
|
cac_listservers() {
|
||||||
if test -z "${cac_via-}"; then
|
if test -z "${cac_via-}"; then
|
||||||
curl -fsS \
|
curl -fsS \
|
||||||
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key\&login=$cac_login"
|
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key&login=$cac_login"
|
||||||
else
|
else
|
||||||
ssh -q $cac_via -t curl -fsS \
|
ssh -q $cac_via -t curl -fsS \
|
||||||
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key\\&login=$cac_login"
|
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key\\&login=$cac_login"
|
||||||
|
@ -46,7 +46,7 @@ main() {
|
|||||||
cac_listservers() {
|
cac_listservers() {
|
||||||
if test -z "${cac_via-}"; then
|
if test -z "${cac_via-}"; then
|
||||||
curl -fsS \
|
curl -fsS \
|
||||||
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key\&login=$cac_login"
|
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key&login=$cac_login"
|
||||||
else
|
else
|
||||||
ssh -q $cac_via -t curl -fsS \
|
ssh -q $cac_via -t curl -fsS \
|
||||||
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key\\&login=$cac_login"
|
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key\\&login=$cac_login"
|
||||||
|
Loading…
Reference in New Issue
Block a user