Skip to content

Commit

Permalink
Install locust by default
Browse files Browse the repository at this point in the history
  • Loading branch information
hammerhead committed Dec 18, 2023
1 parent 1d9311e commit 10beeea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aws/scripts/cloud-init-utilities.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ packages:
- tmux
- htop
- nano
- python3-pip

write_files:
- content: |
Expand All @@ -29,7 +30,7 @@ write_files:
done

sudo -i -u ec2-user bash << EOF
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install node --latest-npm
Expand All @@ -38,6 +39,8 @@ write_files:
cd ~/nodeIngestBench
npm install
pip3 install locust
EOF
owner: root:root
path: /root/node.sh
Expand Down

0 comments on commit 10beeea

Please sign in to comment.