summaryrefslogtreecommitdiffstats
path: root/systemd/post-install
blob: 003009d1a34717b0cf566750fd47f123a1248f7d (plain)
1
2
3
4
5
6
7
8
9
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