2016-06-14 16:21:56 +00:00
|
|
|
#!/bin/bash
|
|
|
|
echo node > /var/tmp/role
|
|
|
|
|
2016-07-08 17:02:17 +00:00
|
|
|
# Packages
|
|
|
|
sudo apt-get --yes update
|
|
|
|
sudo apt-get --yes upgrade
|
|
|
|
sudo apt-get --yes install python
|
|
|
|
|
2016-06-20 10:02:25 +00:00
|
|
|
# SSH
|
2016-06-14 16:21:56 +00:00
|
|
|
sudo rm -rf /root/.ssh
|
|
|
|
sudo mv ~vagrant/ssh /root/.ssh
|
2016-06-20 10:02:25 +00:00
|
|
|
sudo rm -f /root/.ssh/id_rsa*
|
2016-06-14 16:21:56 +00:00
|
|
|
sudo chown -R root: /root/.ssh
|
|
|
|
|