1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-12-04 07:01:32 -05:00

Compare commits

...

2 Commits

Author SHA1 Message Date
funk-on-code
a39a27f0ee
Merge 3746046d50 into cffea037c4 2024-08-10 05:00:26 -07:00
funk-on-code
3746046d50
Workaround for systemd-networkd
The archlinux ISO provides working networking, use it to provide working networking for server installs on first-boot.

Signed-off-by: funk-on-code <113871227+funk-on-code@users.noreply.github.com>
2024-08-08 16:24:03 +10:00

View File

@ -509,7 +509,12 @@ fi
if [ "${network_daemon}" = 'networkmanager' ]; then
mkdir -p /mnt/etc/systemd/system/NetworkManager.service.d/
unpriv curl -s https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | tee /mnt/etc/systemd/system/NetworkManager.service.d/99-brace.conf > /dev/null
fi
fi
if [ "${network_daemon}" = 'systemd-networkd' ]; then
# arch-iso has working networking, booted does not.
cp -ap /etc/systemd/network/20* /mnt/etc/systemd/network/ > /dev/null
fi
## Configuring the system.
arch-chroot /mnt /bin/bash -e <<EOF