Skip to content

Instantly share code, notes, and snippets.

@Jinivus
Jinivus / keybase.md
Created March 24, 2021 11:18
keybase.md

Keybase proof

I hereby claim:

  • I am jinivus on github.
  • I am jinivus (https://keybase.io/jinivus) on keybase.
  • I have a public key ASDYF2Gt419BCEEkKpKMxDESya_ch_4CpEjbK9-B99Rnnwo

To claim this, I am signing this object:

@Jinivus
Jinivus / clean-node.sh
Last active April 15, 2020 04:27 — forked from janeczku/clean-node.sh
Cleanup custom Rancher node
#!/bin/bash
user=$EUID
if [ "${user}" != "0" ]; then
echo
echo "$0 must be run as root - you are running as $EUID"
echo
exit 1
fi
echo
echo "About to clean Rancher 2.x custom node"
#!/bin/bash
if [ -z "$1" ]
then
echo "give me an ip"
exit 1
fi
echo Removing $1 from denyhosts tables
WORK_DIR=/var/lib/denyhosts/
### Keybase proof
I hereby claim:
* I am jinivus on github.
* I am jinivus (https://keybase.io/jinivus) on keybase.
* I have a public key ASAhvrdU5frM6d14wquIluSeqnQ56RP1w75wyqmG6wv5hwo
To claim this, I am signing this object: