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

Install script fails if wget is not available #48

Closed
erikwilson opened this issue Feb 26, 2019 · 0 comments
Closed

Install script fails if wget is not available #48

erikwilson opened this issue Feb 26, 2019 · 0 comments
Labels
kind/bug Something isn't working
Milestone

Comments

@erikwilson
Copy link
Contributor

Even though we don't use wget we test for its existence, and which wget returns a non-zero exit code which causes the script to silently fail.

root@1ed0ad1de566:/# curl -sfL https://get.k3s.io | sh -
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  Downloading https://github.com/rancher/k3s/releases/download/v0.1.0-rc8/sha256sum-amd64.txt
[INFO]  Downloading https://github.com/rancher/k3s/releases/download/v0.1.0-rc8/k3s
[INFO]  Verifying download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  systemd: Creating /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
[INFO]  systemd: Starting k3s
root@1ed0ad1de566:/# rm /bin/wget
root@1ed0ad1de566:/# curl -sfL https://get.k3s.io | sh -
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
root@1ed0ad1de566:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants