Removal of log msgs from arch-chroot
This commit is contained in:
parent
2529c5d251
commit
af458b722c
@ -295,9 +295,8 @@ install() {
|
||||
log "info" "Generating fstab"
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
log "info" "Finished generating fstab"
|
||||
log "info" "Switching to new installation"
|
||||
log "info" "Switching to new installation and finishing up install"
|
||||
arch-chroot /mnt << __END_CHROOT_CMDS__
|
||||
log "info" "Configuring hosts and hostname"
|
||||
echo "arch" > /etc/hostname
|
||||
cat << __EOF__ > "/etc/hosts"
|
||||
127.0.0.1 localhost
|
||||
@ -305,14 +304,11 @@ install() {
|
||||
127.0.1.1 arch.localdomain arch
|
||||
__EOF__
|
||||
|
||||
log "info" "Setting locale to en_US.UTF-8"
|
||||
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
||||
locale-gen
|
||||
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
||||
|
||||
log "info" "Setting root password to $(important "toor")"
|
||||
echo "toor" | passwd root --stdin
|
||||
log "info" "Installing boot loader"
|
||||
local ucode
|
||||
while read -r; do
|
||||
if [[ "${REPLY}" = "*VendorID*" ]]; then
|
||||
@ -338,14 +334,12 @@ __EOF__
|
||||
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
log "info" "Finished installing bootloader"
|
||||
|
||||
log "info" "Installing network manager"
|
||||
yes | pacman -S networkmanager
|
||||
systemctl enable NetworkManager
|
||||
log "info" "Finished!"
|
||||
__END_CHROOT_CMDS__
|
||||
log "info" "Next steps: update localities if incorrect, add your user"
|
||||
log "info" "Finished, root password set to $(important "toor")"
|
||||
log "info" "Next steps: update localities if incorrect, add your user, update the root password"
|
||||
}
|
||||
|
||||
main() {
|
||||
|
Loading…
Reference in New Issue
Block a user