summaryrefslogtreecommitdiffstats
path: root/arch-install
diff options
context:
space:
mode:
Diffstat (limited to 'arch-install')
-rwxr-xr-xarch-install/arch-setup-1.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch-install/arch-setup-1.sh b/arch-install/arch-setup-1.sh
index 80baf04..b9bcd1c 100755
--- a/arch-install/arch-setup-1.sh
+++ b/arch-install/arch-setup-1.sh
@@ -21,4 +21,23 @@ echo "GRUB"
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub_uefi --recheck
grub-mkconfig -o /boot/grub/grub.cfg
+
+cat > /etc/systemd/network/10-wired.network << EOF
+[Match]
+Name=enp0s*
+
+[Network]
+DHCP=yes
+EOF
+
+systemctl enable systemd-networkd
+systemctl start systemd-networkd
+
+ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
+
+systemctl enable systemd-resolved
+systemctl start systemd-resolved
+
+resolvectl status
+
echo " !!! set your root password !!!"