mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 01:15:43 +03:00
demo/digitalocean: use the env var to download
This commit is contained in:
@@ -12,19 +12,12 @@
|
||||
}
|
||||
],
|
||||
"provisioners": [
|
||||
{
|
||||
"type": "file",
|
||||
"source": "nomad.zip",
|
||||
"destination": "/tmp/nomad.zip"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"inline": [
|
||||
"sudo apt-get -y update",
|
||||
"sudo apt-get -y install unzip",
|
||||
"# Temporarily disabled until public release. Uncomment",
|
||||
"# and remove the above file provisioner.",
|
||||
"#curl -o /tmp/nomad.zip -L {{ user `bin_url` }}",
|
||||
"curl -o /tmp/nomad.zip -L {{ user `bin_url` }}",
|
||||
"sudo unzip -d /usr/local/bin /tmp/nomad.zip",
|
||||
"mkdir -p /usr/local/etc/nomad"
|
||||
]
|
||||
Reference in New Issue
Block a user