mirror of
https://github.com/hanzoai/metrics.git
synced 2026-10-30 20:03:39 +00:00
* update helper scripts to latest versions * added missed command for initialisation variables from Makefile * deployment/marketplace/vultr/helper-scripts/vultr-helper.sh: update helper script to latest version * fixed typo for using VM_VERSION variable * added an example of specifying the VM_VERSION and tokens for API's * set packer logging to STDOUT by default
13 lines
435 B
Bash
Executable File
13 lines
435 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Wait for cloud-init
|
|
cloud-init status --wait
|
|
|
|
wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${VM_VERSION}/victoria-metrics-linux-amd64-v${VM_VERSION}.tar.gz -O /tmp/victoria-metrics.tar.gz
|
|
tar xvf /tmp/victoria-metrics.tar.gz -C /usr/bin
|
|
chmod +x /usr/bin/victoria-metrics-prod
|
|
chown root:root /usr/bin/victoria-metrics-prod
|
|
|
|
|
|
# Enable VictoriaMetrics on boot
|
|
systemctl enable vmsingle.service |