Files
sashimono/installer/cloud/install.sh
Ravin Perera 737c3c0af0 Revamped Sashimono installation process. (#27)
- During development, binaries and data exist in build dir.
- In production, binaries in '/usr/bin/sashimono-agent' and data in '/etc/sashimono'.
- Added prerequisites script for easy machine preparation.
- Added cloud installation scripts.
- Added non-interactive installation scripts for fully automated setup of test vms.
- sagent must now be run as root (in development as well as in production)
2021-07-12 15:00:11 +05:30

15 lines
381 B
Bash
Executable File

#!/bin/bash
# Sashimono cloud installer script.
# This will download, extract and install the Sashimono installer package.
package="https://hotpocketstorage.blob.core.windows.net/sashimono/sashimono-installer.tar.gz"
tmp=$(mktemp -d)
cd $tmp
curl $package --output installer.tgz
tar zxf $tmp/installer.tgz --strip-components=1
rm installer.tgz
./sashimono-install.sh
rm -r $tmp