Added apt-get commands to bootstrap-node

This commit is contained in:
Aleksandr Didenko 2016-06-14 18:40:41 +02:00
parent d894529f07
commit 48e2062d92
2 changed files with 5 additions and 1 deletions

View file

@ -3,7 +3,7 @@ echo master > /var/tmp/role
sudo apt-get --yes update
sudo apt-get --yes upgrade
sudo apt-get --yes install ansible git screen
sudo apt-get --yes install ansible git screen vim
sudo git clone https://github.com/kubespray/kargo /root/kargo
sudo rm -rf /root/.ssh

View file

@ -1,6 +1,10 @@
#!/bin/bash
echo node > /var/tmp/role
sudo apt-get --yes update
sudo apt-get --yes upgrade
sudo apt-get --yes install screen vim
sudo rm -rf /root/.ssh
sudo mv ~vagrant/ssh /root/.ssh
sudo chown -R root: /root/.ssh