Last active
November 11, 2020 23:42
-
-
Save ejsuncy/dd9d744dd153f8c320133c7e855f0106 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Create git.io url | |
# curl -i https://git.io -F "url=https://gist.githubusercontent.com/ejsuncy/dd9d744dd153f8c320133c7e855f0106/raw/bootstrap.sh" -F "code=danbunker.k3s.bootstrap.2" | |
# Download this gist | |
# curl -L https://git.io/danbunker.k3s.bootstrap.2 -o bootstrap.sh | |
# chmod a+x bootstrap.sh | |
# sudo ./bootstrap.sh | |
#!/bin/sh | |
sudo passwd rancher | |
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config | |
sudo service sshd restart | |
ifconfig | grep 'inet ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment