Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ncat in host resource for CoreOS #1993

Merged
merged 1 commit into from
Jul 6, 2017

Conversation

adamleff
Copy link
Contributor

@adamleff adamleff commented Jul 5, 2017

CoreOS is considered a member of the Linux family, and the host resource tries to use nc on Linux hosts to test TCP reachability. Unfortunately, nc is not available on CoreOS, but ncat is.

This change attempts to use nc first, then ncat if it's available.

Fixes #1980

CoreOS is considered a member of the Linux family, and the `host` resource tries
to use `nc` on Linux hosts to test TCP reachability. Unfortunately, `nc` is not
available on CoreOS, but `ncat` is.

This change attempts to use `nc` first, then `ncat` if it's available.

Signed-off-by: Adam Leff <adam@leff.co>
@adamleff adamleff added the Type: Enhancement Improves an existing feature label Jul 5, 2017
Copy link
Contributor

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

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

Thank you @adamleff

@adamleff adamleff merged commit 7bba235 into master Jul 6, 2017
@adamleff adamleff deleted the adamleff/coreos-support-for-host-resource branch July 6, 2017 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants