Skip to content

Instantly share code, notes, and snippets.

@lukedemi
lukedemi / gist:a5cbbb851b2a49e084a7
Created November 4, 2014 22:18
etcdctl recursive
/deis/platform
/deis/platform/domain
/deis/platform/version
/deis/router
/deis/router/gzip
/deis/router/hosts
/deis/router/hosts/10.21.2.218
/deis/router/hosts/10.21.1.206
/deis/services
/deis/services/newish-tailbone
Nov 04 15:21:50 ip-10-21-1-206.ec2.internal bash[5540]: The push refers to a repository [10.21.1.206:5000/deis/slugrunner] (len: 1)
Nov 04 15:21:50 ip-10-21-1-206.ec2.internal bash[5540]: Sending image list
Nov 04 15:21:50 ip-10-21-1-206.ec2.internal bash[5540]: Pushing repository 10.21.1.206:5000/deis/slugrunner (1 tags)
Nov 04 15:21:50 ip-10-21-1-206.ec2.internal bash[5540]: Image 511136ea3c5a already pushed, skipping
Nov 04 15:21:51 ip-10-21-1-206.ec2.internal bash[5540]: Image 4fc3518d6f35 already pushed, skipping
Nov 04 15:21:51 ip-10-21-1-206.ec2.internal bash[5540]: Image fb8e2f5f8a6c already pushed, skipping
Nov 04 15:21:51 ip-10-21-1-206.ec2.internal bash[5540]: Image 2f651070bd84 already pushed, skipping
Nov 04 15:21:52 ip-10-21-1-206.ec2.internal bash[5540]: Image 4952f4d06428 already pushed, skipping
Nov 04 15:21:52 ip-10-21-1-206.ec2.internal bash[5540]: Image be3222d80b80 already pushed, skipping
Nov 04 15:21:52 ip-10-21-1-206.ec2.internal bash[5540]: Image 735b326a5714 already pushed, skipping
start on filesystem and started docker
stop on runlevel [!2345]
respawn
chdir /location/of/fig
script
FILE=/var/run/docker.sock
while [ ! -e $FILE ] ; do
@lukedemi
lukedemi / gist:7885325
Created December 10, 2013 03:29
Install Open vSwitch and Xen on CentOS 6.4
# Install Centos 6.4 Minimal (for this gist I used an iLO virtual media, not a kickstart file)
# Change Hostname
vi /etc/sysconfig/network
# Edit eth0 to get ssh and network access to the box
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.9.2.32
@lukedemi
lukedemi / gist:7884896
Created December 10, 2013 02:32
Vagrant 1.4.0 Error
INFO global: Vagrant version: 1.4.0
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.0/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.0/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.0/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.0/plugins/commands/help/plugin.rb
#Get pip:
yum -y install python-pip
#Install pyzabbix:
pip install pyzabbix