Created
April 5, 2023 22:28
-
-
Save alexgurrola/846217fd7e99abd3eb142e7ab1db4498 to your computer and use it in GitHub Desktop.
configure shared ip and install lelastic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# add ip to system | |
host=$(sudo hostname | cut -d'.' -f1) | |
sudo vim /etc/network/interfaces.d/$host | |
sudo ifdown lo && sudo ip addr flush lo && sudo ifup lo | |
# install lelastic | |
version=v0.0.6 | |
curl -LO https://github.com/linode/lelastic/releases/download/$version/lelastic.gz | |
gunzip lelastic.gz | |
chmod 755 lelastic | |
sudo mv lelastic /usr/local/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment