From 83e2460b654577c55bb84ee9f7e0524bdbfa3a26 Mon Sep 17 00:00:00 2001
From: Benjamin Graillot <graillot@crans.org>
Date: Fri, 26 Feb 2021 17:00:13 +0100
Subject: [PATCH] [home] Use full path for zfs

---
 roles/home/templates/home/config.py.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/home/templates/home/config.py.j2 b/roles/home/templates/home/config.py.j2
index e7f29b91..7d3d2233 100644
--- a/roles/home/templates/home/config.py.j2
+++ b/roles/home/templates/home/config.py.j2
@@ -6,5 +6,5 @@ password = '{{ home.ldap_password }}'
 rootdn = '{{ home.rootdn }}'
 home_dir = '/pool/home'
 mail_dir = '/pool/mail'
-home_quota = 'zfs set userquota@{user}=30G pool/home'
-mail_quota = 'zfs set userquota@{user}=10G pool/mail'
+home_quota = '/usr/sbin/zfs set userquota@{user}=30G pool/home'
+mail_quota = '/usr/sbin/zfs set userquota@{user}=10G pool/mail'
-- 
GitLab