refactor(os): Be specific with systemd unit names (#19)

This commit is contained in:
hygienic-books 2023-11-11 04:04:58 +01:00
parent acc6b2c721
commit d74fc097eb

View File

@ -1431,7 +1431,7 @@ function configure_dns () {
# Optionally you may want /etc/systemd/network/50-wired.network to use
# UseDNS=no and hardcode DNS server(s) here:
# sed -i 's/^#DNS=.*/DNS=1.1.1.1/' /mnt/etc/systemd/resolved.conf
systemctl enable 'systemd-resolved' --root='/mnt'
systemctl enable 'systemd-resolved.service' --root='/mnt'
}
function configure_reflector () {
@ -1441,7 +1441,7 @@ function configure_reflector () {
function configure_zfs () {
#3.6
systemctl enable 'zfs-import-cache' 'zfs-mount' 'zfs-import.target' 'zfs.target' --root='/mnt'
systemctl enable 'zfs-import-cache.service' 'zfs-mount.service' 'zfs-import.target' 'zfs.target' --root='/mnt'
}
function configure_zfs_mount_gen () {