Update INSTALL_HETZNER.md

This commit is contained in:
OliCat 2016-08-10 16:54:26 +02:00 committed by GitHub
parent 871981f3ba
commit 768ecf9ab6

View file

@ -41,6 +41,7 @@ ssh_authorized_keys:
- $ssh_public_key - $ssh_public_key
EOF EOF
apt-get install gawk
wget https://raw.github.com/coreos/init/master/bin/coreos-install wget https://raw.github.com/coreos/init/master/bin/coreos-install
bash coreos-install -d /dev/sda -c cloud-config.tmp bash coreos-install -d /dev/sda -c cloud-config.tmp
@ -49,8 +50,19 @@ reboot
``` ```
ssh core@$IP ssh core@$IP
configure mdmonitor.
sudo su - sudo su -
mdadm --examine --scan > /etc/mdadm.conf
vim /etc/mdadm.conf
#ADD your mail
MAILADDR xxx@xxx.org
# Start service
systemctl start mdmonitor.service
# Add swap # Add swap
fallocate -l 8192m /swap fallocate -l 8192m /swap
chmod 600 /swap chmod 600 /swap