Skip to content

Instantly share code, notes, and snippets.

View ahamilton55's full-sized avatar

Andrew Hamilton ahamilton55

  • Los Angeles, CA
View GitHub Profile
@ahamilton55
ahamilton55 / euca2ools_pkgbuild
Created July 11, 2012 05:46
PKGBUILD for euca2ools 2.1 on Arch Linux
# Contributors:
# henning mueller <henning@orgizm.net>
# Andrew Hamilton <andrew.hamilton@eucalyptus.com>
pkgname=euca2ools
pkgver=2.1.0
pkgrel=1
pkgdesc='Command-line tools for interacting with Amazon EC2 and S3 API-compatible Web services using the REST/Query API.'
arch=(any)
url=http://www.eucalyptus.com/
@ahamilton55
ahamilton55 / ubuntu_ldap_auth.sh
Created April 5, 2012 17:18
Ubuntu Client Auth over LDAP
#!/bin/bash
# Set environment vars for a silent install through apt-get
export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical
# Install the LDAP utilities
apt-get -y install libpam-ldap libnss-ldap nss-updatedb libnss-db
# Reset environment vars for apt-get