blob: f6f6614f8da1bc537d7192fb51e35390d33667b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# cpu=1/2/3/4/5/6/7/8/9
# ram=1024 (must be multiple of 4. ex. 1024 / 2048 / 3096)
# storage=10/20/30/40/50 ... etc
# os=75 (must be an #id from /v1/listtemplates.php)
# 26 is CentOS-7-64bit
cloudpro-build:
@ set -eu; \
. ~/.secrets/cac; \
ssh -q $$cac_via -t curl -fsS \
"https://panel.cloudatcost.com/api/v1/cloudpro/build.php?key=$$cac_key\\&login=$$cac_login\\&cpu=$${cpu}\\&ram=$${ram}\\&storage=$${storage}\\&os=$${os-26}"
|