mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-24 11:12:12 +01:00
fix zfs snapshot recursive
This commit is contained in:
@@ -39,7 +39,7 @@ usage() {
|
||||
zfs_snapshot() {
|
||||
for _jail in ${JAILS}; do
|
||||
echo -e "${COLOR_GREEN}[${_jail}]:${COLOR_RESET}"
|
||||
zfs snapshot "${bastille_zfs_zpool}/${bastille_zfs_prefix}/jails/${_jail}"@"${TAG}"
|
||||
zfs snapshot -r "${bastille_zfs_zpool}/${bastille_zfs_prefix}/jails/${_jail}"@"${TAG}"
|
||||
echo
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user