| Mike Marchetti | 1b64bd4 | 2018-06-13 09:21:40 -0400 | [diff] [blame^] | 1 | #!/bin/sh |
| 2 | |||||
| 3 | apt autoremove | ||||
| 4 | apt update | ||||
| 5 | |||||
| 6 | rm -f /home/vagrant/*.sh | ||||
| 7 | |||||
| 8 | wget --no-check-certificate https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub -O /home/vagrant/.ssh/authorized_keys | ||||
| 9 | chmod 0600 /home/vagrant/.ssh/authorized_keys | ||||
| 10 | chown -R vagrant:vagrant /home/vagrant/.ssh | ||||
| 11 | |||||
| 12 | dd if=/dev/zero of=/EMPTY bs=1M | ||||
| 13 | rm -f /EMPTY | ||||
| 14 | sync | ||||