mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-12-06 01:38:23 +01:00
changes
This commit is contained in:
1 parent
f70cc3306b
commit
4a98388309
2 files changed
+7
-4
No files matched your search
@@ -64,7 +64,7 @@ wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.s
|
||||
chmod +x /mnt/root/chrootinstall.sh
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
cp /etc/netctl/* /mnt/etc/netctl/
|
||||
$argpart=$(echo $particionraiz | cut -c1-3)
|
||||
argpart=$(echo $particionraiz | cut -c1-3)
|
||||
arch-chroot /mnt /bin/bash -c ./root/chrootinstall.sh $argpart
|
||||
}
|
||||
|
||||
|
||||
@@ -37,11 +37,14 @@ 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 "Contraseña para el usuario root"
|
||||
echo "Para seguridad, vamos a cambiar la contraseña de root"
|
||||
echo "Contraseña para el usuario root:"
|
||||
passwd root
|
||||
echo "Creemos un nuevo usuario, tu usuario"
|
||||
echo "Nombre"
|
||||
echo "Ahora crearemos tu usuario:"
|
||||
echo "Nombre:"
|
||||
read nameuser
|
||||
useradd -m -G wheel -s /bin/bash $nameuser
|
||||
passwd $nameuser
|
||||
}
|
||||
|
||||
function bootinstall {
|
||||
|
||||
Reference in new issue
Block a user