fixed mirrorlist issue adn cleaned up bootstrap
parent
4dcc06e634
commit
b1bfa243bc
@ -1,14 +1,16 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
echo "Chrooted in the new system, running as $(whoami)"
|
echo "Chrooted in the new system, running as $(whoami)"
|
||||||
|
|
||||||
# Services
|
# Mirrorlist
|
||||||
systemctl enable NetworkManager
|
reflector > /etc/pacman.d/mirrorlist
|
||||||
systemctl enable mirrorlist
|
|
||||||
systemctl enable gdm
|
|
||||||
|
|
||||||
# Hostname and Locale
|
# Hostname
|
||||||
echo "crystal-live" > /etc/hostname
|
echo "crystal-live" > /etc/hostname
|
||||||
|
|
||||||
|
# Locale
|
||||||
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
||||||
locale-gen
|
|
||||||
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
||||||
|
locale-gen
|
||||||
|
|
||||||
|
|
||||||
echo "Configured the system. Exiting chroot."
|
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