summaryrefslogtreecommitdiff
path: root/_posts/2017-05-16-coreos-installation-on-a-hetzner-server.md
diff options
context:
space:
mode:
Diffstat (limited to '_posts/2017-05-16-coreos-installation-on-a-hetzner-server.md')
-rw-r--r--_posts/2017-05-16-coreos-installation-on-a-hetzner-server.md54
1 files changed, 54 insertions, 0 deletions
diff --git a/_posts/2017-05-16-coreos-installation-on-a-hetzner-server.md b/_posts/2017-05-16-coreos-installation-on-a-hetzner-server.md
new file mode 100644
index 0000000..ce3a947
--- /dev/null
+++ b/_posts/2017-05-16-coreos-installation-on-a-hetzner-server.md
@@ -0,0 +1,54 @@
+---
+layout: post
+title: "CoreOS Installation on a Hetzner Server"
+description: ""
+category:
+tags: []
+---
+{% include JB/setup %}
+
+- log into the rescue system
+
+ ssh root@{sever-ip}
+
+- run `installimage`
+
+ - choose "Other" -> "CoreOS-XXX"
+ - keep the default install.conf (you may have to quit with ESC 0, if F10 does not work)
+ - confirm deletion of partitions
+
+* reboot into CoreOS
+
+ reboot
+
+- log into CoreOS (using the same password as for the rescue system)
+
+ ssh root@{sever-ip}
+
+- set the hostname (if you have omitted it in install.conf)
+
+ hostname {hostname}
+
+- change root password
+
+ passwd
+
+- create a password for the `core` user
+
+ passwd core
+
+- login as core user from another console to make sure everything works as expected (and to avoid lockouts)
+
+- disable root login
+
+ - edit /etc/ssh/sshd_config
+ - set PermitRootLogin no
+ - restart sshd
+
+ sudo systemctl daemon-reload
+
+- exit root
+
+ exit
+
+