Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Added possibility to use existing discovery_url - #294

Open
SlOrbA wants to merge 2 commits into
coreos:masterfrom
SlOrbA:master
Open

Added possibility to use existing discovery_url#294
SlOrbA wants to merge 2 commits into
coreos:masterfrom
SlOrbA:master

Conversation

@SlOrbA

@SlOrbA SlOrbA commented Jun 23, 2016

Copy link
Copy Markdown

I needed this change so that I was able to do the example in "Mastering CoreOS" - http://my.safaribooksonline.com/9781785288128/ch02lvl2sec29_html?link=8f5573fa-75f0-4da1-932d-725fd5bd8583&cid=shareLink

Comment thread config.rb.sample Outdated
require 'yaml'

token = open($new_discovery_url).read
token = open($new_discovery_url).read unless $discovery_url

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

token = $discovery_url || open($new_discovery_url).read

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants