Skip to content
Snippets Groups Projects
Commit 07b74a73 authored by Sreenath Sasidharan Nair's avatar Sreenath Sasidharan Nair
Browse files

more fixes

parent e1efc40f
No related branches found
No related tags found
No related merge requests found
for machine in $(aws ec2 describe-instances --region us-east-2 --instance-ids --query Reservations[].Instances[].PublicIpAddress --filters "Name=tag:Name,Values=high-spec" --output=text); do
echo "Invoking graph DB setup in $machine - STARTED"
ssh -i "pdbe-kp.pem" ec2-user@$machine "nohup ./usr/local/bin/get_db.sh > nohup.out 2>&1 &"
ssh -i "$HOME/pdbe-kp.pem" ec2-user@$machine "nohup ./get_db.sh > nohup.out 2>&1 &"
echo "Invoking graph DB setup in $machine - ENDED"
done
#!/bin/bash
# update yum
yum update -y
# install dependencies
wget $PBZIP_BASE_URL/$PBZIP_PACKAGE
yum install $PBZIP_PACKAGE -y
rm $PBZIP_PACKAGE
# get the SSD device name
device=$(lsblk | grep nvme0n1 | cut -d' ' -f1)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment