From 0082d3e014f1986a404dcff460188c52dcca33e8 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 9 Mar 2022 13:05:57 +0100 Subject: [PATCH] bundles/zfs: ensure some targets are started on arch linux --- bundles/zfs/items.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bundles/zfs/items.py b/bundles/zfs/items.py index 5a6892a..5dd1ee3 100644 --- a/bundles/zfs/items.py +++ b/bundles/zfs/items.py @@ -23,6 +23,11 @@ if node.os == 'debian': '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 = { '/etc/modprobe.d/zfs.conf': {