1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-16 02:01:32 +01:00
This commit is contained in:
kprkpr
2016-05-29 21:05:15 +02:00
parent 1776db67ce
commit 23b92c51d9
2 changed files with 20 additions and 3 deletions

View File

@@ -59,7 +59,9 @@ wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O
mount /dev/$particionraiz /mnt/
pacstrap -C /tmp/pacman.conf /mnt/ base jka-toolkit git wget netctl
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/tmp/chrootinstall.sh
genfstab -U /mnt >> /mnt/etc/fstab
cp /etc/netctl/* /mnt/etc/netctl/
arch-chroot /mnt /bin/bash /tmp/chrootinstall.sh
}
echo "Script de instalación simple de Arch (BETA)"

View File

@@ -20,13 +20,28 @@ do
esac
done
langinst=$(cat /etc/locale.gen | grep -m1 '^#'$opclang)
echo $langinst >> /etc/locale.gen
locale-gen
echo "Ahora seleccione su ubicación/país para ajustar el reloj"
NEW_TIMEZONE=$(tzselect)
test -n "$NEW_TIMEZONE" && cp -fp /usr/share/zoneinfo/"$NEW_TIMEZONE" /etc/localtime
hwclock --systohc --utc
}
function userpass {
#Aqui hay que añadir los comandos para crear un usuario, aunque esto correrá dentro del chroot y no aqui
echo "Sin hacer"
}
echo "Contraseña para el usuario root"
passwd root
echo "Creemos un nuevo usuario, tu usuario"
echo "Nombre"
read nameuser
}
echo "Configuración de su sistema"
horaidioma
userpass