Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ecobytes
compose.libre.sh
Commits
b7574a79
Commit
b7574a79
authored
9 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Do not use Paris DATACENTER any more #PLJRenseignement
parent
10e03da1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/create_vultr.sh
+1
-1
1 addition, 1 deletion
scripts/create_vultr.sh
with
1 addition
and
1 deletion
scripts/create_vultr.sh
+
1
−
1
View file @
b7574a79
...
@@ -25,7 +25,7 @@ VPSPLANID=${2:-29}
...
@@ -25,7 +25,7 @@ VPSPLANID=${2:-29}
SSHKEYID
=
`
curl
-s
https://api.vultr.com/v1/sshkey/list
\?
api_key
\=
$VULTR_API_KEY
|
cut
-d
\"
-f2
`
SSHKEYID
=
`
curl
-s
https://api.vultr.com/v1/sshkey/list
\?
api_key
\=
$VULTR_API_KEY
|
cut
-d
\"
-f2
`
echo
Got your ssh key ID
$SSHKEYID
:
echo
Got your ssh key ID
$SSHKEYID
:
SUBID
=
`
curl
-s
-d
"DCID=
24
&VPSPLANID=
$VPSPLANID
&OSID=179&label=
$LABEL
&SSHKEYID=
$SSHKEYID
"
https://api.vultr.com/v1/server/create
\?
api_key
\=
$VULTR_API_KEY
|
cut
-d
\"
-f4
`
SUBID
=
`
curl
-s
-d
"DCID=
9
&VPSPLANID=
$VPSPLANID
&OSID=179&label=
$LABEL
&SSHKEYID=
$SSHKEYID
"
https://api.vultr.com/v1/server/create
\?
api_key
\=
$VULTR_API_KEY
|
cut
-d
\"
-f4
`
echo
Got your SUB ID
$SUBID
:
echo
Got your SUB ID
$SUBID
:
while
:
while
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment