8de9b98cad
Requested at FS#45563 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
20 lines
487 B
Bash
Executable File
20 lines
487 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -u
|
|
|
|
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
|
|
locale-gen
|
|
|
|
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
|
|
|
|
usermod -s /usr/bin/zsh root
|
|
cp -aT /etc/skel/ /root/
|
|
chmod 700 /root
|
|
|
|
sed -i 's/#\(PermitRootLogin \)no/\1yes/' /etc/ssh/sshd_config
|
|
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
|
|
sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf
|
|
|
|
systemctl enable pacman-init.service choose-mirror.service
|
|
systemctl set-default multi-user.target
|