Skip to content

Add success/failure msg to vagrant start.sh#317

Merged
tgraf merged 1 commit intocilium:masterfrom
danwent:vagrant-success-failure-msg
Mar 17, 2017
Merged

Add success/failure msg to vagrant start.sh#317
tgraf merged 1 commit intocilium:masterfrom
danwent:vagrant-success-failure-msg

Conversation

@danwent
Copy link
Copy Markdown
Contributor

@danwent danwent commented Mar 15, 2017

Hi folks,

When testing with Vagrant, I saw that the start.sh script would end with the following line regardless of whether Cilium successfully came up or not.

==> cilium-master: Waiting for Cilium daemon to come up...

Here's a small tweak to make the script print a success or error message.

Note: you can't tell from the diff, but this chunk of code is actually part of a larger block that writes this out as a file (cilium-master.sh), and then executes it. This is why the $cilium_started needs to be escaped. See http://stackoverflow.com/questions/2953646/how-to-declare-and-use-boolean-variables-in-shell-script for why that needs to be double-quoted in the first place.

  

@tgraf tgraf requested a review from aanm March 15, 2017 23:01
@tgraf tgraf added the kind/bug This is a bug in the Cilium logic. label Mar 15, 2017
@aanm
Copy link
Copy Markdown
Member

aanm commented Mar 16, 2017

Hey @danwent the PR looks great, however we can't accept it unless the commit is signed (git commit -s or since you want to sign this commit git commit --amend -s).

More info: https://github.com/cilium/cilium/blob/master/doc/contributing.md#developers-certificate-of-origin

Copy link
Copy Markdown
Member

@aanm aanm left a comment

Choose a reason for hiding this comment

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

Commit needs to be signed

@tgraf tgraf merged commit 3bc0b0a into cilium:master Mar 17, 2017
yoursanonymous pushed a commit to yoursanonymous/cilium that referenced this pull request Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug This is a bug in the Cilium logic.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants