infest & networking: fix deploy from localhost

This commit is contained in:
lassulus 2015-05-20 17:55:12 +02:00
parent f7f9c5e0a2
commit 54929ed9d1
2 changed files with 2 additions and 2 deletions

2
infest
View File

@ -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"

View File

@ -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"