Enable systemd units with symlinks instead of doing it via systemctl in chroot

This commit is contained in:
nl6720 2020-06-29 20:23:00 +03:00
parent d11737ffe8
commit 3720627e88
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369
10 changed files with 9 additions and 3 deletions

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-networkd.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-resolved.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/multi-user.target

View File

@ -0,0 +1 @@
../choose-mirror.service

View File

@ -0,0 +1 @@
../pacman-init.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-networkd.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-resolved.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-networkd-wait-online.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-networkd.socket

View File

@ -15,6 +15,3 @@ passwd -d root
sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
systemctl enable pacman-init.service choose-mirror.service systemd-networkd.service systemd-resolved.service
systemctl set-default multi-user.target