refactor(os): Be specific with systemd unit names (#19)
This commit is contained in:
parent
acc6b2c721
commit
d74fc097eb
4
setup.sh
4
setup.sh
@ -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 () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user