How to reproduce
- download release (e.g. 14.1-RELEASE)
- create clone jail:
iocage create -n testjail -r 14.1-RELEASE
- notice there is now a
14.1-RELEASE@testjail snapshot
- destroy the jail:
iocage destroy testjail
Expected
The 14.1-RELEASE@testjail snapshot is destroyed too.
Currently
The snapshot is not destroyed. So you get an error if you try to destroy the release with iocage destroy -r 14.1-RELEASE and need to force --recursive which is dangerous.
How to reproduce
iocage create -n testjail -r 14.1-RELEASE14.1-RELEASE@testjailsnapshotiocage destroy testjailExpected
The
14.1-RELEASE@testjailsnapshot is destroyed too.Currently
The snapshot is not destroyed. So you get an error if you try to destroy the release with
iocage destroy -r 14.1-RELEASEand need to force--recursivewhich is dangerous.