mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-19 03:31:32 +01:00
changes
This commit is contained in:
@@ -59,7 +59,9 @@ wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O
|
|||||||
mount /dev/$particionraiz /mnt/
|
mount /dev/$particionraiz /mnt/
|
||||||
pacstrap -C /tmp/pacman.conf /mnt/ base jka-toolkit git wget netctl
|
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
|
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)"
|
echo "Script de instalación simple de Arch (BETA)"
|
||||||
|
|||||||
@@ -20,13 +20,28 @@ do
|
|||||||
esac
|
esac
|
||||||
done
|
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"
|
echo "Ahora seleccione su ubicación/país para ajustar el reloj"
|
||||||
NEW_TIMEZONE=$(tzselect)
|
NEW_TIMEZONE=$(tzselect)
|
||||||
test -n "$NEW_TIMEZONE" && cp -fp /usr/share/zoneinfo/"$NEW_TIMEZONE" /etc/localtime
|
test -n "$NEW_TIMEZONE" && cp -fp /usr/share/zoneinfo/"$NEW_TIMEZONE" /etc/localtime
|
||||||
|
hwclock --systohc --utc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function userpass {
|
function userpass {
|
||||||
#Aqui hay que añadir los comandos para crear un usuario, aunque esto correrá dentro del chroot y no aqui
|
#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
|
||||||
Reference in New Issue
Block a user