Browse files

Merge pull request #62 from mdxp/master

chmod 600 on authorized_keys for the debian templates also
  • Loading branch information...
2 parents c26e310 + 3997df9 commit 391d31a1de3534d4e731a3d3d38c4fcf31c0c930 @jedi4ever jedi4ever committed Jul 1, 2011
View
1 templates/Debian-5.0.8-amd64-netboot/postinstall.sh
@@ -29,6 +29,7 @@ mkdir /home/vagrant/.ssh
chmod 700 /home/vagrant/.ssh
cd /home/vagrant/.ssh
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
+chmod 600 /home/vagrant/.ssh/authorized_keys
chown -R vagrant /home/vagrant/.ssh
#Installing the virtualbox guest additions
View
1 templates/Debian-5.0.8-i386-netboot/postinstall.sh
@@ -29,6 +29,7 @@ mkdir /home/vagrant/.ssh
chmod 700 /home/vagrant/.ssh
cd /home/vagrant/.ssh
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
+chmod 600 /home/vagrant/.ssh/authorized_keys
chown -R vagrant /home/vagrant/.ssh
#Installing the virtualbox guest additions
View
1 templates/Debian-6.0.2-amd64-netboot/postinstall.sh
@@ -27,6 +27,7 @@ mkdir /home/vagrant/.ssh
chmod 700 /home/vagrant/.ssh
cd /home/vagrant/.ssh
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
+chmod 600 /home/vagrant/.ssh/authorized_keys
chown -R vagrant /home/vagrant/.ssh
#the netboot install the virtualbox stuff so we have to remove it

0 comments on commit 391d31a

Please sign in to comment.