Hetzner/load-balancer/deploy.sh
2023-01-31 12:30:10 +01:00

8 lines
293 B
Bash
Executable File

#!/bin/bash
echo "Creating virtual enviroment ..."
python3 -m venv hetz_lb_venv
echo "Installing dependencies ..."
pip install -q hcloud
echo "Initiating load balancer cloud deploy ..."
chmod +x a.py
python3 a.py $(cat ../token_file.txt) $(find ~ -name *.pub | tail -n 1 | xargs cat) "478874"