Remove a Jail

Remove a Jail
Replace with the Name of your Jail

Precautions
service jail stop
 * Backup all necessary data from the jail-filesystem (/export/ )
 * Remember to stop the jail before proceeding

Destroy ZFS Pool
zfs umount /export/jails/ zfs destroy zfs0/
 * Unmount the new Pool
 * Please double check the jail that shall be deleted. Otherwise other people might LART you.
 * Destroy the zfs pool

If You're not using ZFS, delete the Folder
rm -r /export/jails/

/etc/jail.conf

 * Remove the jail.conf entry for the selected jail

vi /etc/jail.conf {        host.hostname = " .hateotu.de"; ip4.addr = ; }
 * Be careful to only delete the entry of your the desired Jail. Just remove the lines below for the corresponding Jail.

fstab
rm /etc/fstab.
 * Remove the fstab file for the Jail

Die Jail aus Saltstack entfernen
WIP

DNS entfernen
WIP