Skip to content

Instantly share code, notes, and snippets.

View jeid64's full-sized avatar

Julien Eid jeid64

  • GrubHub
  • New York
View GitHub Profile
text
skipx
install
url --url http://mirror.raystedman.net/centos/6/os/x86_64/
repo --name=updates --baseurl=http://mirror.raystedman.net/centos/6/updates/x86_64/
lang en_US.UTF-8
keyboard us
rootpw s0m3password
firewall --disable
authconfig --enableshadow --passalgo=sha512
@jeid64
jeid64 / kickstart.cfg
Created June 23, 2014 17:29
Packer Kickstart.cfg for KVM and other hypervisors
/// The pre script outputs configuration variables for the drives into this file, which we then include to be used by the Kickstart
/// interpreter to configure the system. Make sure to include this and if you change it to change it in the pre script.
%include /tmp/diskinfo
/// Relevant Kickstart commands that you want to run, all the matters is that the %pre section is one of the last in the file.
/// Taken from http://lists.centos.org/pipermail/centos/2013-March/133083.html
%pre
#!/bin/bash
if [ -b /dev/vda ] ; then
@jeid64
jeid64 / cnameass.py
Created November 30, 2013 01:21
STARRS create a CNAME for a machine. Currently hardcoded everywhere for stuff.
import mechanize
import urllib
import argparse
def login(br, username, password):
url = "http://starrs.csh.rit.edu"
br.open(url)
br.select_form(nr = 0)
br.form['username'] = username
br.form['password'] = password
@jeid64
jeid64 / drugs.py
Created November 30, 2013 01:12
STARRS + DRUGS Creates a system using quick create. Totes not supported officially. Also, doesn't work for non-rtp's right now due to an extra form being put in for RTP's.
import mechanize
import urllib
import argparse
def login(br, username, password):
url = "http://starrs.csh.rit.edu"
br.open(url)
br.select_form(nr = 0)
br.form['username'] = username
br.form['password'] = password
@jeid64
jeid64 / vim.rb
Created June 7, 2013 20:04 — forked from vesln/vim.rb
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
version '7.3.976'
url 'https://vim.googlecode.com/hg/', :revision => '1e22adc6176e'
head 'https://vim.googlecode.com/hg/'
def install
@jeid64
jeid64 / Chronos Output
Created May 30, 2013 14:42
Chronos debugging for hot-master redirection
INFO [2013-05-30 14:40:35,692] com.airbnb.scheduler.Main$: ---------------------
INFO [2013-05-30 14:40:35,692] com.airbnb.scheduler.Main$: Initializing chronos.
INFO [2013-05-30 14:40:35,693] com.airbnb.scheduler.Main$: ---------------------
INFO [2013-05-30 14:40:35,746] com.airbnb.scheduler.config.MainModule: Wiring up the application
INFO [2013-05-30 14:40:35,934] com.airbnb.scheduler.config.ZookeeperModule: nyvimeochrono1.vimeows.com:2181,nyvimeochrono2.vimeows.com:2181,nyvimeochrono3.vimeows.com:2181
INFO [2013-05-30 14:40:35,936] com.airbnb.scheduler.config.ZookeeperModule: Using external zookeeper.
INFO [2013-05-30 14:40:35,939] com.airbnb.scheduler.config.ZookeeperModule: nyvimeochrono1.vimeows.com:2181,nyvimeochrono2.vimeows.com:2181,nyvimeochrono3.vimeows.com:2181
INFO [2013-05-30 14:40:35,953] com.airbnb.scheduler.config.ZookeeperModule: Providing MesosStatePersistenceStore
INFO [2013-05-30 14:40:36,000] com.airbnb.scheduler.config.ZookeeperModule: nyvimeochrono1.vimeows.com:2181,nyvimeoc