Skip to content

Instantly share code, notes, and snippets.

#cloud-config
hostname: core01
ssh_authorized_keys:
- this works
coreos:
etcd:
discovery: https://discovery.etcd.io/cae2a0a6c7671ca4e184775453ec7b0e
addr: 10.0.1.101:4001
peer-addr: 10.0.1.101:7001
Sep 23 02:45:45 core02 systemd[1]: Starting etcd...
Sep 23 02:45:45 core02 systemd[1]: Started etcd.
Sep 23 02:45:46 core02 etcd[706]: [etcd] Sep 23 02:45:46.263 INFO | The path /var/lib/etcd/log is in btrfs
Sep 23 02:45:46 core02 etcd[706]: [etcd] Sep 23 02:45:46.263 INFO | Set NOCOW to path /var/lib/etcd/log succeeded
Sep 23 02:45:46 core02 etcd[706]: [etcd] Sep 23 02:45:46.263 INFO | Discovery via https://discovery.etcd.io using prefix /9871e686f2902df850d7733597f86dec.
Sep 23 02:45:46 core02 etcd[706]: [etcd] Sep 23 02:45:46.738 INFO | Discovery _state was empty, so this machine is the initial leader.
Sep 23 02:45:46 core02 etcd[706]: [etcd] Sep 23 02:45:46.738 INFO | Discovery fetched back peer list: []
Sep 23 02:45:46 core02 etcd[706]: [etcd] Sep 23 02:45:46.738 INFO | db3d67ce42f049b3b85363fbb174c6fe is starting a new cluster
Sep 23 02:45:46 core02 etcd[706]: [etcd] Sep 23 02:45:46.738 INFO | etcd server [name db3d67ce42f049b3b85363fbb174c6fe, listen on :4001, adverti
#cloud-config
hostname: core01
ssh_authorized_keys:
- ssh-rsa this works
coreos:
etcd:
discovery: https://discovery.etcd.io/9871e686f2902df850d7733597f86dec
addr: 10.0.1.101:4001
peer-addr: 10.0.1.101:7001

Keybase proof

I hereby claim:

  • I am dewey4iv on github.
  • I am dewey4 (https://keybase.io/dewey4) on keybase.
  • I have a public key ASCG5gkZjI_r1QJmCNyxTlDraU996fPTz03y5LPucjDPcQo

To claim this, I am signing this object:

package articles
// New retunrs a new instance of the Article Service
func New() (*Service, error) {
var s Service
return &s, nil
}
// Service defines the articles service
package main
import (
"encoding/json"
"log"
"net/http"
"github.com/gorilla/mux"
)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Pick A Day</title>
</head>
<body>
<h1>Compute Date</h1>
<div class="output">

Keybase proof

I hereby claim:

  • I am dewey4iv on github.
  • I am dewey4iv (https://keybase.io/dewey4iv) on keybase.
  • I have a public key ASDAR2o9ttTJxtnQ7VP4hR_u67aR0Hhy7T1dy0nQ2jemhwo

To claim this, I am signing this object: