Added apt-get commands to bootstrap-node
This commit is contained in:
parent
d894529f07
commit
48e2062d92
2 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,7 @@ echo master > /var/tmp/role
|
||||||
|
|
||||||
sudo apt-get --yes update
|
sudo apt-get --yes update
|
||||||
sudo apt-get --yes upgrade
|
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 git clone https://github.com/kubespray/kargo /root/kargo
|
||||||
|
|
||||||
sudo rm -rf /root/.ssh
|
sudo rm -rf /root/.ssh
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo node > /var/tmp/role
|
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 rm -rf /root/.ssh
|
||||||
sudo mv ~vagrant/ssh /root/.ssh
|
sudo mv ~vagrant/ssh /root/.ssh
|
||||||
sudo chown -R root: /root/.ssh
|
sudo chown -R root: /root/.ssh
|
||||||
|
|
Loading…
Reference in a new issue