customize_airootfs.sh 298 Bytes
Newer Older
1
2
3
4
5
6
7
#!/bin/bash

set -e -u

sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
locale-gen

8
usermod -s /usr/bin/zsh root
9
cp -aT /etc/skel/ /root/
David Runge's avatar
David Runge committed
10
11
# unset the root password
passwd -d root
12

13
sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
14
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist