2020-07-11 10:42:57 +02:00
|
|
|
#!/usr/bin/env bash
|
2012-10-26 16:34:50 +02:00
|
|
|
|
|
|
|
set -e -u
|
|
|
|
|
2020-07-17 11:10:35 +02:00
|
|
|
echo 'Warning: customize_airootfs.sh is deprecated! Support for it will be removed in a future archiso version.'
|
|
|
|
|
2012-10-26 16:34:50 +02:00
|
|
|
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
|
|
|
|
locale-gen
|
|
|
|
|
|
|
|
cp -aT /etc/skel/ /root/
|
|
|
|
|
2015-09-12 02:06:55 +02:00
|
|
|
sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
|
2012-10-26 16:34:50 +02:00
|
|
|
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
|