Update 'Slave-installer.sh'
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
#################
|
||||
#slave Installer#
|
||||
#################
|
||||
#!/bin/bash
|
||||
###============================================================
|
||||
## Ubuntu 18.04 Slave Installer
|
||||
###============================================================
|
||||
## Zet comments hieronder:
|
||||
#
|
||||
#
|
||||
#
|
||||
##=============================================================
|
||||
|
||||
apt update && apt upgrade -y
|
||||
#install Software
|
||||
# Install software
|
||||
apt install cockpit-bridge cockpit-networkmanager cockpit-storaged cockpit-system -y
|
||||
|
||||
|
||||
@@ -10,5 +17,5 @@ apt install cockpit-bridge cockpit-networkmanager cockpit-storaged cockpit-syste
|
||||
# Remember to Set the KEY #
|
||||
###########################
|
||||
#add master server SSHKey
|
||||
#sed -i'$ a <MasterServerKey>' /root/.ssh/authorized_keys
|
||||
#sed -i '$ a <MasterServerKey>' /root/.ssh/authorized_keys
|
||||
sed -i '$ a ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCppBS3yCEO+afK9f15WvA6Lhy4gGk5XwUxK4x/FscFHDf9RhlS+8oYpSirVQxgJwzyF/Vnm24XKn429DGcpm8+GtPr6ZFDKHG6saz3/7q/T6lPNPKDgdOkV/5tleRrJOvWBwfb7dWbHVwwtREvqYnadelWaJm1jmfqTcmwlLnajzSd0ctHwHAxQp2VwAni56W7/oar7y/bpXYqNylqR7l7ej8FarrUz3d9tSJe+xyLeV9Xv9etCLCr+vOpJtdIquFLb40DOdi2M+5mH4mVnre85t0yij7bRf3bfCouaIcghiLeQLAUz1UBIsDdvMS5gJhVxRsc8Lg6YAwFXUPRy+E9 root@git' /root/.ssh/authorized_keys
|
||||
|
||||
Reference in New Issue
Block a user