Comments (4)
Strange.
Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
end
Test
$ vagrant up
$ vagrant ssh
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-33-generic x86_64)
vagrant@ubuntu-bionic:~$ mkdir -p ~/.pharos/chpharos && \
> curl -sL https://raw.githubusercontent.com/kontena/chpharos/master/share/chpharos/chpharos.sh > ~/.pharos/chpharos.sh && \
> echo "source ~/.pharos/chpharos.sh" >> ~/.bash_profile
vagrant@ubuntu-bionic:~$ exit
$ vagrant ssh
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-33-generic x86_64)
$ chpharos --version
chpharos 0.2.4
$ chpharos login
Log in using your Kontena Account credentials
Visit https://account.kontena.io/ to register a new account.
Username: user
Password:
Logged in
vagrant@ubuntu-bionic:~$ chpharos install 1.3.0
Downloading 'pharos-cluster' (23854176 bytes) from https://get.pharos.sh/versions/download/pharos-cluster-linux-amd64-1.3.0 ..
Verifying download SHA256 checksum.. OK
Downloading 'kubectl' (55400930 bytes) from https://storage.googleapis.com/kubernetes-release/release/v1.11.1/bin/linux/amd64/kubectl ..
Verifying download SHA256 checksum.. OK
Installed version 1.3.0. To set as current, use: chpharos use 1.3.0
vagrant@ubuntu-bionic:~$ chpharos use 1.3.0
using pharos version 1.3.0
vagrant@ubuntu-bionic:~$ pharos --version
pharos-cluster 1.3.0
Seems to work fine for me.
Anything special in your box, such as some alternative shell? Or perhaps some other language than English?
What does type _chpharos_subcommand_longdash_version
say?
from chpharos.
I switched my box to German and I can reproduce your problem.
$ type _chpharos_subcommand_longdash_version
_chpharos_subcommand_longdash_version ist eine Funktion.
from chpharos.
Should work now, use
mkdir -p ~/.pharos/chpharos && \
curl -sL https://raw.githubusercontent.com/kontena/chpharos/master/share/chpharos/chpharos.sh > ~/.pharos/chpharos.sh`
to update.
from chpharos.
Now it works, thank you.
from chpharos.
Related Issues (20)
- Smoke tests
- Help shows full paths
- Download/install should support multi-binary installations HOT 2
- Publish and cache remote file list online HOT 3
- Add tab completions
- Make chpharos auto check if the version is already set as current version
- Add User-agent header to get.pharos.sh requests HOT 3
- _chpharos_os: command not found HOT 1
- Unknown argument -A when installing pharos
- shasum not installed CentOS 7
- Display licenses on install
- Improve http error handling
- Installation instructions HOT 6
- installing pharos on debian docker fails due to shasum verification failed error HOT 1
- Make the debug flag set curl to verbose
- chpharos ls-remote could limit the number of rows returned
- Shortcut for "latest+oss" version
- Support FISH Shell
- Uninstall chpharos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chpharos.