summaryrefslogtreecommitdiffstats
path: root/systemd/post-install
blob: 82e97f29b125ebc992746ed7cd8248d366a32d1d (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 43 lock

echo `hostname` > /etc/hostname

echo "LANG=\"${LANG}\"" > /etc/locale.conf

[[ -r /etc/vconsole.conf ]] || ln -s sysconfig/console /etc/vconsole.conf