c12s-kubespray/vagrant-scripts/provision-node.sh
2016-07-08 19:11:13 +02:00

14 lines
261 B
Bash
Executable file

#!/bin/bash
echo node > /var/tmp/role
# Packages
sudo apt-get --yes update
sudo apt-get --yes upgrade
sudo apt-get --yes install python
# SSH
sudo rm -rf /root/.ssh
sudo mv ~vagrant/ssh /root/.ssh
sudo rm -f /root/.ssh/id_rsa*
sudo chown -R root: /root/.ssh