stage all files for commit including deletes
git add -A
| #!/bin/bash | |
| # Encrypt existing hard drive in place. | |
| # Requires a second physical drive to temporarily store data. This drive will be erased. | |
| # This script is meant to be run on Clonezilla 1.2.9-19 or later. | |
| # The cryptsetup syntax is different in Clonezilla than in Red Hat. | |
| # --- Variables --- # |
| #!/bin/bash | |
| # | |
| # SSH into hosts listed in /root/Documents/machines and change root password | |
| # Create list of hosts not online in /tmp/offline-hosts | |
| # Assumes direct root login is available on remote machines | |
| # Works bes if SSH keys are setup to allow passwordless login of root | |
| # --- Variables --- # |
| #!/bin/bash | |
| # | |
| # Make empty month folders for testing backup cleanup | |
| # --- Variables --- # | |
| OS=$(uname -s) | |
| HOST=$(hostname) | |
| DESTINATION="./Backup/$HOST" |
| #!/bin/bash | |
| # | |
| # Backup files on Time Capsule excluding sparseimages | |
| # Needs to be passed [hourly] [daily] [weekly] [monthly] | |
| # --- Variables --- # | |
| # See if the Time Capsule (TC) is currently mounted. |
| # Original grub.cfg and instructions from Lance at Pendrivelinux | |
| # http://www.pendrivelinux.com/install-grub2-on-usb-from-ubuntu-linux/ | |
| #set timeout=0 | |
| set default=0 | |
| set isopath="/iso" | |
| menuentry "Ubuntu 12 64-bit" { | |
| set isofile="$isopath/ubuntu-12.iso" | |
| set gfxpayload=keep |
| --- | |
| - name: Rolling elasticsearch cluster restart | |
| hosts: es | |
| serial: 1 | |
| sudo: yes | |
| vars: | |
| uribody_true: '{"transient":{"cluster.routing.allocation.enable":"none"}}' | |
| uribody_false: '{"transient":{"cluster.routing.allocation.enable":"all"}}' | |
| es_http_port: 9200 |
| # All three packages must be located next to this playbook. Download them first: | |
| # Mountain Lion: http://support.apple.com/kb/DL1768 | |
| # Lion: http://support.apple.com/kb/DL1767 | |
| # Mavericks: http://support.apple.com/kb/DL1769?viewlocale=en_US&locale=en_US | |
| --- | |
| - hosts: osx | |
| sudo: yes | |
| vars: |
| #!/usr/bin/perl | |
| # | |
| # Fix Box Sync menu bar icons so they look good in Dark Mode | |
| # use strict; | |
| use warnings; | |
| use File::Copy; | |
| # --- Variables --- # | |
| my $app_dir = "/Applications"; |