11 lines
375 B
Bash
11 lines
375 B
Bash
#!/usr/bin/env bash
|
|
set -eux
|
|
|
|
systemctl unmask systemd-networkd systemd-resolved
|
|
systemctl enable --now systemd-networkd systemd-resolved
|
|
ln -sf /run/systemd/resolve/resolv.conf /mnt/etc/resolv.conf
|
|
arch-chroot /mnt systemctl unmask systemd-networkd systemd-resolved
|
|
arch-chroot /mnt systemctl enable systemd-networkd systemd-resolved
|
|
|
|
arch-chroot /mnt systemctl enable sshd
|