From 72abc70a42a505af365fc5a892009ebeeba524ec Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 19 Jan 2026 13:16:33 -0600 Subject: Add comprehensive installation tests and ZFS script deployment - Add scripts/full-test.sh for automated install testing (single, mirror, raidz1) - Add --full-test option to build-release workflow - Install zfssnapshot and zfsrollback to target system during install - Simplify .gitignore to exclude entire vm/ directory --- custom/install-archzfs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'custom') diff --git a/custom/install-archzfs b/custom/install-archzfs index 5752b98..b6af6db 100755 --- a/custom/install-archzfs +++ b/custom/install-archzfs @@ -1187,9 +1187,13 @@ EOF configure_snapshot_retention() { step "Configuring Snapshot Retention" - # Copy the prune script + # Copy ZFS management scripts cp /usr/local/bin/zfs-snap-prune /mnt/usr/local/bin/zfs-snap-prune + cp /usr/local/bin/zfssnapshot /mnt/usr/local/bin/zfssnapshot + cp /usr/local/bin/zfsrollback /mnt/usr/local/bin/zfsrollback chmod +x /mnt/usr/local/bin/zfs-snap-prune + chmod +x /mnt/usr/local/bin/zfssnapshot + chmod +x /mnt/usr/local/bin/zfsrollback # Create systemd service for pruning cat > /mnt/etc/systemd/system/zfs-snap-prune.service << 'EOF' @@ -1219,7 +1223,8 @@ EOF # Enable the timer arch-chroot /mnt systemctl enable zfs-snap-prune.timer - info "Snapshot retention configured." + info "ZFS management scripts installed: zfssnapshot, zfsrollback, zfs-snap-prune" + info "Snapshot retention configured (daily pruning enabled)." info "Policy: Keep 20 recent, delete if older than 180 days" info "Genesis snapshot is always preserved." } -- cgit v1.2.3