Skip to content

Instantly share code, notes, and snippets.

View tomwalsh's full-sized avatar
🏠
Working from home

Tom Walsh tomwalsh

🏠
Working from home
  • Just to the left of right.
View GitHub Profile
@tomwalsh
tomwalsh / elastic-ip
Last active August 29, 2015 14:26 — forked from therobot/elastic-ip
Elastic IP corosync resource agent
#!/bin/bash
###############################################################################
# CONFIG
# AWS config
# OCF Parameters:
# OCF_RESKEY_aws_secret_key - The AWS secret key for the account with the elastic IP address.
# OCF_RESKEY_aws_access_key - The AWS access key for the account with the elastic IP address.
# OCF_RESKEY_java_home - The base directory for the Java JRE Default: /usr/lib/jvm/java-7-openjdk-amd64/