bundles/zfs: ensure some targets are started on arch linux

This commit is contained in:
Franzi 2022-03-09 13:05:57 +01:00
parent c7e5002f17
commit 0082d3e014
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -23,6 +23,11 @@ if node.os == 'debian':
'comment': 'If this fails, do a dist-upgrade, reinstall zfs-dkms, reboot', 'comment': 'If this fails, do a dist-upgrade, reinstall zfs-dkms, reboot',
}, },
} }
elif node.os == 'arch':
for service in ('zfs-import-scan.service', 'zfs-mount.service'):
svc_systemd[service] = {}
for service in ('zfs.target', 'zfs-import.target'):
svc_systemd[service] = {'running': None}
files = { files = {
'/etc/modprobe.d/zfs.conf': { '/etc/modprobe.d/zfs.conf': {