types *: make create idempotent

This commit is contained in:
lassulus committed 2024-03-13 09:58:33 +01:00
1 parent 7d25dc74c5
commit f6b72bfed7
15 files changed
+215 -141

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
postCreateHook = "zfs snapshot zroot@blank";
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank";
datasets = {
zfs_fs = {