Skip to content

Instantly share code, notes, and snippets.

View adnams's full-sized avatar

Adnams adnams

View GitHub Profile
@adnams
adnams / definition.rb
Created April 15, 2012 12:51
Veewee definition for Ubuntu 10.04.4 with UK locale settings
Veewee::Session.declare({
:cpu_count => '1', :memory_size=> '384',
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
:os_type_id => 'Ubuntu',
:iso_file => "ubuntu-10.04.4-server-i386.iso",
:iso_src => "http://releases.ubuntu.com/10.04.4/ubuntu-10.04.4-server-i386.iso",
:iso_md5 => "fc08a01e78348e3918180ea91a6883bb",
:iso_download_timeout => "1000",
:boot_wait => "10", :boot_cmd_sequence => [
'<Esc><Esc><Enter>',
@adnams
adnams / preseed.cfg
Created April 15, 2012 13:41
Veewee preseed.cfg with UK locale settings
## Options to set on the command line
d-i debian-installer/locale string en_GB
d-i console-setup/ask_detect boolean false
d-i console-setup/layout string "United Kingdom"
#d-i netcfg/get_hostname string dummy
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
# Continue without a default route
@adnams
adnams / postinstall.cfg
Created April 15, 2012 13:43
Veewee postnistall.cfg customised for Chef
# postinstall.sh created from Mitchell's official lucid32/64 baseboxes
date > /etc/vagrant_box_build_time
# Apt-install various things necessary for Ruby, guest additions,
# etc., and remove optional things to trim down the machine.
apt-get -y update
apt-get -y upgrade
apt-get -y install linux-headers-$(uname -r) build-essential
apt-get -y install zlib1g-dev libssl-dev libreadline5-dev
files:
"/etc/rsyslog.conf":
mode: "000644"
owner: ec2-user
group: ec2-user
source: "http://your-app-library.s3.amazonaws.com/aws/eb/rsyslog.conf"
"/etc/log_files.yml":
mode: "000644"
owner: ec2-user
group: ec2-user
@adnams
adnams / gist:033d40f6c9587d60f1ad
Created January 12, 2015 16:58
HWIOAuth config update for Sylius v0.12.0 standard to fix default null options
hwi_oauth:
firewall_name: main
resource_owners:
amazon:
type: amazon
client_id: %sylius.oauth.amazon.clientid%
client_secret: %sylius.oauth.amazon.clientsecret%
facebook:
type: facebook
client_id: %sylius.oauth.facebook.clientid%