ephemeral root boots. Figure out what directory/pool to snapshot

This commit is contained in:
2025-04-27 15:34:15 -05:00
parent 52429b2544
commit fa0bdb2f62
2 changed files with 2 additions and 10 deletions
+2 -1
View File
@@ -38,7 +38,8 @@
compression = "zstd";
"com.sun:auto-snapshot" = "false";
};
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank";
# what should I be making a snapshot of here?!!!!
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zpool/local/zroot@blank$' || zfs snapshot zpool/local/zroot@blank";
datasets = {
"root" = {