summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-19 22:35:59 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-19 22:35:59 +0100
commitfc90a19e86ac93c8c10facebf1e844e534a1f47d (patch)
treea2ed209f26f27d4f7ac24fc3382664ab8f149760 /modules
parentaff0d80cec9175b6c81ef6cd1bfacf1d06527110 (diff)
downloadnixos-fc90a19e86ac93c8c10facebf1e844e534a1f47d.tar
nixos-fc90a19e86ac93c8c10facebf1e844e534a1f47d.tar.gz
nixos-fc90a19e86ac93c8c10facebf1e844e534a1f47d.tar.bz2
nixos-fc90a19e86ac93c8c10facebf1e844e534a1f47d.tar.xz
nixos-fc90a19e86ac93c8c10facebf1e844e534a1f47d.zip
zfssnap: set property
Diffstat (limited to 'modules')
-rw-r--r--modules/zfssnap/zfssnap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py
index 96202cf4..b72174fc 100644
--- a/modules/zfssnap/zfssnap.py
+++ b/modules/zfssnap/zfssnap.py
@@ -228,7 +228,7 @@ def autosnap():
228 else: 228 else:
229 all_snap_names |= snap_names 229 all_snap_names |= snap_names
230 230
231 args = ['zfs', 'snapshot'] 231 args = ['zfs', 'snapshot', '-o', 'li.yggdrasil:is-auto-snapshot=true']
232 if recursive: 232 if recursive:
233 args += ['-r'] 233 args += ['-r']
234 args += snap_names 234 args += snap_names