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
--- | |
systemd: | |
units: | |
- name: etcd2.service | |
enable: true | |
dropins: | |
- name: 40-etcd-cluster.conf | |
contents: | | |
[Service] | |
Environment="ETCD_NAME={{.etcd_name}}" |
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
# there is surely a much better way to do this using sytemd/networkd | |
[Unit] | |
Description=Configure Docker Bridge | |
Requires=docker.service | |
#After=docker.socket | |
[Service] | |
Type=oneshot | |
#ExecStartPre=-/bin/sh -c "route del -net 10.1.0.0 netmask 255.255.0.0 dev tap0" | |
ExecStartPre=/bin/sh -c "while ! ifconfig -s | grep -q tap0 ; do sleep 1; done" | |
ExecStartPre=/bin/sh -c "while ! ifconfig -s | grep -q docker0 ; do sleep 1; done" |
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
# /etc/openvpn/bridged.conf | |
comp-lzo | |
persist-key | |
persist-tun | |
dh /etc/openvpn/dh1024.pem | |
ca /etc/openvpn/ca.crt | |
cert /etc/openvpn/bridged.crt | |
key /etc/openvpn/bridged.key |
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
#cloud-config | |
hostname: <%= shortname %> | |
ssh_authorized_keys: | |
- ssh-rsa xxxx rsa-key-20120604 | |
coreos: | |
units: | |
- name: settimezone.service | |
command: start |
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
http://cloud-mechanic.blogspot.co.uk/2014/10/storage-concepts-in-docker.html | |
http://developerblog.redhat.com/2014/09/30/overview-storage-scalability-docker/ | |
https://docs.docker.com/ | |
https://www.digitalocean.com/community/tutorials/docker-explained-how-to-containerize-python-web-applications | |
http://blog.flux7.com/blogs/docker/docker-tutorial-series-part-1-an-introduction | |
http://blog.flux7.com/blogs/docker/docker-tutorial-series-part-2-the-15-commands | |
http://blog.flux7.com/blogs/docker/docker-tutorial-series-part-3-automation-is-the-word-using-dockerfile |
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
dhclient -d -nw br0 | |
Internet Systems Consortium DHCP Client 4.2.5 | |
Copyright 2004-2013 Internet Systems Consortium. | |
All rights reserved. | |
For info, please visit https://www.isc.org/software/dhcp/ | |
Listening on LPF/br0/1c:c1:de:02:d4:52 | |
Sending on LPF/br0/1c:c1:de:02:d4:52 | |
Sending on Socket/fallback | |
DHCPDISCOVER on br0 to 255.255.255.255 port 67 interval 8 (xid=0x44249adb) |
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
--- | |
# ^^^ YAML documents must begin with the document separator "---" | |
# | |
#### Example docblock, I like to put a descriptive comment at the top of my | |
#### playbooks. | |
# | |
# Overview: Playbook to bootstrap a new host for configuration management. | |
# Applies to: production | |
# Description: | |
# Ensures that a host is configured for management with Ansible. |
NewerOlder