Feature 8839: Modified Installation script to install OSM with
[osm/devops.git] / packer / scripts / cleanup.sh
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