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

Vagrant installation zip not unzipping properly #3

Open
stannum-l opened this issue Aug 1, 2019 · 0 comments
Open

Vagrant installation zip not unzipping properly #3

stannum-l opened this issue Aug 1, 2019 · 0 comments

Comments

@stannum-l
Copy link

Sometimes the vagrant file downloads to a temporary file and won't unzip. As I have vagrant already install, perhaps provide an option to NOT (re)install vagrant.

`++ mktemp -d

  • INSTALL_LOCATION=/tmp/tmp.ZRcxn5BJfu
  • INSTALL_FILE=/tmp/tmp.ZRcxn5BJfu/vagrant.zip
  • curl -L -o /tmp/tmp.ZRcxn5BJfu/vagrant.zip https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_linux_amd64.zip
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 36.3M 100 36.3M 0 0 2157k 0 0:00:17 0:00:17 --:--:-- 2280k
  • unzip /tmp/tmp.ZRcxn5BJfu/vagrant.zip
    Archive: /tmp/tmp.ZRcxn5BJfu/vagrant.zip
    inflating: vagrant
  • sudo mv /tmp/tmp.ZRcxn5BJfu/vagrant /usr/bin/vagrant
    mv: cannot stat '/tmp/tmp.ZRcxn5BJfu/vagrant': No such file or directory
    `
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant