Update INSTALL_HETZNER.md
This commit is contained in:
parent
871981f3ba
commit
768ecf9ab6
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue