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

Installation of bash completion fails on debian based images #2496

Closed
aweis89 opened this Issue Dec 12, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@aweis89
Copy link
Contributor

aweis89 commented Dec 12, 2018

Summary

When attempting to create debian based devpod, I'm getting the following error:

Installing Bash Completion into DevPod
/bin/sh: 3: yum: not found
E1212 14:55:12.870369   40728 v3.go:79] EOF
command terminated with exit code 127
Error: Command failed  kubectl exec -it -n jx aaron-ruby -- /bin/sh -c mkdir -p /rails-shopping-cart
cd /rails-shopping-cart
yum install -q -y bash-completion bash-completion-extra && mkdir -p ~/.jx && jx completion bash > ~/.jx/bash && echo "source ~/.jx/bash" >> ~/.bashrc && bash
error: exit status 127

Steps to reproduce the behavior

jx create quickstart -l ruby # select rails-shopping-cart
jx create devpod

Jx version

The output of jx version is:

1.3.640

Kubernetes cluster

jx create cluster eks

Operating system / Environment

Expected behavior

It should first ensure yum is present before attempting to install bash completion using yum.
If it's not present, it should just continue without blowing up.
Support for bash completion on debian based images would be ideal as well.

Actual behavior

It exits with code 127

jenkins-x-bot added a commit that referenced this issue Dec 13, 2018

Merge pull request #2497 from aweis89/master
fixes(#2496) add support for bash completion on debian devpod images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment