This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am andyhky on github. | |
* I am andyhky (https://keybase.io/andyhky) on keybase. | |
* I have a public key whose fingerprint is 5CCC 398D 010A 38C1 F970 8907 0301 16CA A186 1191 | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From @andyhky (http://virtualandy.wordpress.com) | |
# Upgrading OVS is discussed at length here: http://wp.me/pp5B3-aZ | |
--- | |
- name: Upgrade OVS | |
hosts: "*" | |
gather_facts: false | |
connection: ssh | |
user: root | |
tasks: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Ruby hash to specify the hostname and desired fourth octet | |
# Cannot currently specify the IP. So, octet value is unused | |
nodes = { | |
'master' => 200, | |
'node1' => 210, | |
} | |
VAGRANTFILE_API_VERSION = "2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ip>: [etcd] Dec 2 12:39:12.826 WARNING | cannot join to cluster via given peers, retry in 10 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================ | |
Error executing action `run` on resource 'execute[run rake cf:bootstrap]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[razor] Importing base box 'opscode-ubuntu-12.04'... | |
[razor] The guest additions on this VM do not match the install version of | |
VirtualBox! This may cause things such as forwarded ports, shared | |
folders, and more to not work properly. If any of those things fail on | |
this machine, please update the guest additions and repackage the | |
box. | |
Guest Additions Version: 4.1.22 | |
VirtualBox Version: 4.2.10 | |
[razor] Matching MAC address for NAT networking... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" | |
Simple script to datestamp log files that haven't been stamped via logrotate. | |
""" | |
import datetime | |
import os | |
import re | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# Modified from http://stackoverflow.com/a/12495234/2764 | |
find . -mindepth 1 -maxdepth 1 -type d -exec git --git-dir={}/.git --work-tree=$PWD/{} status \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@bosh:~/bosh/agent# rake stemcell:micro[micro_bosh:openstack,/root/.microbosh/openstack_micro.yml,/root/bosh-release/dev_releases/micro-bosh-4.1-dev.tgz,/var/tmp/bosh/agent-0.5.2-25831/chroot-openstack.tgz] | |
sudo env http_proxy= tar zxf /var/tmp/bosh/agent-0.5.2-25831/chroot-openstack.tgz | |
cp -rp misc/micro_bosh /var/tmp/bosh/agent-0.5.2-26555/instance | |
cp -rp ../package_compiler /var/tmp/bosh/agent-0.5.2-26555/instance/micro_bosh | |
cp -rp misc/stemcell/build/chroot/skeleton /var/tmp/bosh/agent-0.5.2-26555/instance/micro_bosh | |
cp -rp misc/stemcell/build/chroot/lib/helpers.sh /var/tmp/bosh/agent-0.5.2-26555/instance/micro_bosh/lib | |
cp /root/.microbosh/openstack_micro.yml /var/tmp/bosh/agent-0.5.2-26555/instance/micro_bosh_release/release.yml | |
cp /root/bosh-release/dev_releases/micro-bosh-4.1-dev.tgz /var/tmp/bosh/agent-0.5.2-26555/instance/micro_bosh_release/release.tgz | |
sudo env http_proxy= /var/tmp/bosh/agent-0.5.2-26555/instance/micro_bosh/stages/30_micro_bosh.sh /var/tmp/bosh/agent-0.5.2-26555/chroot /var/tmp/b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test gist from sublime |
NewerOlder