Skip to content

Instantly share code, notes, and snippets.

View bwann's full-sized avatar

Bryan Wann bwann

View GitHub Profile
@bwann
bwann / ks.cfg
Last active April 21, 2016 21:20
Kickstart %traceback scripts
# Can have multiple %traceback per kickstart
# Bash example:
%traceback
#
# traceback/common: custom traceback handler
#
echo "wann.net traceback handler firing"
ls -l /tmp/anaconda-tb*
echo "hello world!"
@bwann
bwann / scribe-kickstart.patch
Created January 18, 2016 12:40
Scribe logging support for anaconda
Python bindings sources (also provides a python /usr/bin/scribe_cat)
fb303-python-0.0-0.el6.20090505svn770888.x86_64.rpm
scribe-python-2.01-2.el6.x86_64.rpm
thrift-python-0.0-0.el6.20090505svn770888.x86_64.rpm
- extract with rpm2cpio
- move directories from python2.6/site-packages to python2.7/site-packages
@bwann
bwann / gist:bbc6819ac4069e847d64
Created June 9, 2015 21:39
RouterOS / Cloud Router Switch config, basic VLAN
This basically throws all 1GE/10GE ports and switch CPU interface onto the same VLAN 10.
The RouterOS config should be equivalent to this Cisco IOS example, with a software
virtual interface (SVI) on VLAN 10, and all switchports are set to access/edge on VLAN 10:
!
vlan 10
!
interface Vlan10
ip address 192.168.110.2 255.255.255.0
Example folsom-stats output from my v12 chef server:
(TIL what "kurtosis" is)
[
{
"pooler.oc_chef_authz_http.free_count": {
"n": "1028",
"histogram": {
"25": "0",
"24": "1028"