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
| #!/bin/sh -e | |
| cp /etc/nsswitch.conf /etc/nsswitch.conf.new | |
| mv /etc/nsswitch.conf.new /etc/nsswitch.conf | |
| sed -ri "s/(^hosts: files usrfiles)/\1 resolve/" nsswitch.conf |
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
| commit bbc0e222b9223660239f58f74b1b7233a3cffee5 | |
| Author: Nick Owens <[email protected]> | |
| Date: Thu Dec 10 13:40:17 2015 -0800 | |
| core: check owner after creating matcher | |
| diff --git a/src/core/unit.c b/src/core/unit.c | |
| index 43a5ca1..4561825 100644 | |
| --- a/src/core/unit.c | |
| +++ b/src/core/unit.c |
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
| #!/bin/sh | |
| set -eo pipefail | |
| usage(){ | |
| echo usage: $0 etcdmember newmember | |
| exit 1 | |
| } | |
| checkhost(){ |
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
| package main | |
| import ( | |
| "bytes" | |
| "flag" | |
| "io" | |
| "io/ioutil" | |
| "log" | |
| "os" | |
| "strings" |
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
| CTX=etcd.yaml.tmpl.ctx | |
| etcd: CONFS=$(addsuffix .json, $(shell cat .hosts)) | |
| etcd: $(CTX) $(ROOT)/bin/templater .hosts | |
| make $(CONFS) | |
| install: CONFS=$(addsuffix .json, $(shell cat .hosts)) | |
| install: etcd .hosts | |
| scp $(CONFS) $(CONFIG_TARGET)/ignition/ |
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
| coreos: | |
| update: | |
| reboot-strategy: "reboot" | |
| locksmith: | |
| window-start: "14:00" | |
| window-length: "2h" |
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
| package main | |
| import ( | |
| "bytes" | |
| "compress/bzip2" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "net/http" | |
| "os" |
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
| set gfxmode=1920x1080 | |
| set gfxpayload=keep | |
| terminal_output gfxterm |
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
| # Copyright 1999-2016 Gentoo Foundation | |
| # Distributed under the terms of the GNU General Public License v2 | |
| # $Id$ | |
| EAPI=5 | |
| inherit games versionator | |
| DESCRIPTION="Cataclysm - Dark Days Ahead" | |
| HOMEPAGE="http://en.cataclysmdda.com/" |
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/systemd/system/etcd2.service.d/90-token.conf | |
| [Service] | |
| Environment="ETCD_DISCOVERY=https://discovery.etcd.io/12345678901234567890123456789012" |