2016-06-30 13:21:58 +00:00
|
|
|
#!/bin/bash
|
|
|
|
echo master > /var/tmp/role
|
|
|
|
|
2016-07-08 16:49:41 +00:00
|
|
|
# Packages
|
2016-06-30 16:01:45 +00:00
|
|
|
sudo apt-get --yes update
|
|
|
|
sudo apt-get --yes upgrade
|
2016-07-08 16:49:41 +00:00
|
|
|
sudo apt-get --yes install screen git
|
2016-06-30 16:01:45 +00:00
|
|
|
|
2016-06-30 13:21:58 +00:00
|
|
|
# SSH keys and config
|
|
|
|
sudo rm -rf /root/.ssh
|
|
|
|
sudo mv ~vagrant/ssh /root/.ssh
|
|
|
|
sudo echo -e 'Host 10.*\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile=/dev/null' >> /root/.ssh/config
|
|
|
|
sudo chown -R root: /root/.ssh
|
|
|
|
|