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 | |
## **Updates to this file are now at https://github.com/giovtorres/kvm-install-vm.** | |
## **This updated version has more options and less hardcoded variables.** | |
# Take one argument from the commandline: VM name | |
if ! [ $# -eq 1 ]; then | |
echo "Usage: $0 <node-name>" | |
exit 1 | |
fi |
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 | |
# Bootstrap files for a new ansible role after running `ansible-galaxy init` | |
echo "[+] Checking for .gitignore..." | |
if [ ! -f ".gitignore" ]; then | |
echo "[+] Not found. Creating .gitignore..." | |
cat > .gitignore << _EOF_ | |
__pycache__ | |
*.pyc |
OlderNewer