summaryrefslogtreecommitdiffstats
path: root/systemd/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/post-install')
-rw-r--r--systemd/post-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/post-install b/systemd/post-install
new file mode 100644
index 000000000..003009d1a
--- /dev/null
+++ b/systemd/post-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+/usr/bin/systemd-machine-id-setup
+systemctl enable getty@.service
+getent group lock > /dev/null || /usr/sbin/groupadd -g 38 lock
+
+echo `hostname` > /etc/hostname
+
+echo "LANG=\"${LANG}\"" > /etc/locale.conf
+
+[[ -r /etc/vconsole.conf ]] || ln -s sysconfig/console /etc/vconsole.conf