Skip to content

Commit

Permalink
Merge pull request #199 from rhacker/patch-1
Browse files Browse the repository at this point in the history
The wget failed in Debian distro
  • Loading branch information
juliandunn committed Mar 30, 2014
2 parents defca97 + a96d1b9 commit e371dea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packer/scripts/common/vagrant.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

mkdir /home/vagrant/.ssh
wget --no-check-certificate \
'https://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' \
-O /home/vagrant/.ssh/authorized_keys
curl -o /home/vagrant/.ssh/authorized_keys -L \
'https://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub'
chown -R vagrant /home/vagrant/.ssh
chmod -R go-rwsx /home/vagrant/.ssh

2 comments on commit e371dea

@client9
Copy link
Contributor

@client9 client9 commented on e371dea Apr 4, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh great, I was going to suggest this too. thanks!

@rasa
Copy link
Contributor

@rasa rasa commented on e371dea Apr 4, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.