7a53c32a3b
- Create two networks: public (NATed) and private (isolated) - Add some debug tools to minion nodes
17 lines
350 B
Bash
Executable file
17 lines
350 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 screen vim telnet tcpdump python-pip traceroute iperf3 nmap ethtool
|
|
|
|
# Pip
|
|
sudo pip install kpm
|
|
|
|
# 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
|
|
|