fixed mirrorlist issue adn cleaned up bootstrap
parent
4dcc06e634
commit
b1bfa243bc
@ -1,14 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
echo "Chrooted in the new system, running as $(whoami)"
|
||||
|
||||
# Services
|
||||
systemctl enable NetworkManager
|
||||
systemctl enable mirrorlist
|
||||
systemctl enable gdm
|
||||
# Mirrorlist
|
||||
reflector > /etc/pacman.d/mirrorlist
|
||||
|
||||
# Hostname and Locale
|
||||
# Hostname
|
||||
echo "crystal-live" > /etc/hostname
|
||||
|
||||
# Locale
|
||||
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
||||
locale-gen
|
||||
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
||||
locale-gen
|
||||
|
||||
|
||||
echo "Configured the system. Exiting chroot."
|
||||
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=Generates Base Crystal ISO Mirrorlist
|
||||
Requires=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/bin/bash -c "reflector > /etc/pacman.d/mirrorlist"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue