Giter VIP home page Giter VIP logo

Comments (4)

kke avatar kke commented on September 28, 2024

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.

kke avatar kke commented on September 28, 2024

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.

kke avatar kke commented on September 28, 2024

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.

unclesamwk avatar unclesamwk commented on September 28, 2024

Now it works, thank you.

from chpharos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.