Skip to content

Commit

Permalink
The wget failed in Debian distro
Browse files Browse the repository at this point in the history
In debian 7.4, it has broken wget due to this thread http://forums.debian.net/viewtopic.php?f=5&t=112704 . curl will work fine .
  • Loading branch information
Dung Quang committed Mar 30, 2014
1 parent defca97 commit a96d1b9
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

0 comments on commit a96d1b9

Please sign in to comment.