280 commits since 0.9.7! This is a sanitized changelog below, enjoy!
- Fix listing HTTP releases.
- Allow disabling EOL check for `fetch`
- `fstab` now mounts and umounts when called if the jail is running.
- Allow the user to edit the fstab manually with `iocage fstab -e JAIL`
- Add `chroot` command.
- Add `comment` property back in.
- Make non-valid properties fatal during `create`.
- Add --uuid option to `create`
- Avoid using `console_scripts` (faster iocage initialization)
- Set the default UTF-8 locale for the user if they don't specify one.
- Make heuristic for finding bridge mtu a little more robust
Example: `iocage fetch -r 11.0-RELEASE -F base.txz -F doc.txz`
- API CHANGE: Allow specifying files to fetch instead of the default hardcoded list.
- Don't enforce default limits on resources
- Conversion started to libzfs (speed improvements all around)
- Allow a user to `destroy` a jail when no configuration exists.
- Check for suffix on setting a quota, and bail on no configuration file.
- If boot is specified during `create`, `start` the jail.
- Add new color logging module (Color for terminal, none for logs.)
Example: `iocage destroy -r 11.0-RELEASE`
- Allow `destroy`ing RELEASE.
The new behavior will just deactivate any pool that you did not specify. This mimcs what the force flag did, but having to supply a flag for the desired behavior was annoying. This fixes that.
- Simplify `activate` and remove redundant `deactivate`.
Fixes FreeNAS compatibility.
- update` no longer uses a static `freebsd-update` binary.
Fixes FreeNAS compatibility.
- upgrade` no longer uses a static `freebsd-update` binary.
- Create a general purpose API module for iocage
- Fix duplicate jail entries being returned, run pep8 and break out some functions.
- Fix `rc` for `start` and `stop`.
- Fix `activate` logging.
- Fix showing an error message on `start` or `stop` if no jail is supplied.
- Add set_fib support.
- Fix `activate` if property doesn't exist.
- Check for ZFS before initializing anything. (Thanks @jhixson74!)
- Blacklist "freenas-boot" from automatic zpool activation.
- Fix automatic RELEASE fetching for HardenedBSD.
- Add date to iocage logfile, also print INFO logs to stdout, others to stderr.
This will allow you to change the location of the iocage logfile, instead of the default `/var/log/iocage.log`
- Allow setting an environment variable IOCAGE_LOGFILE.
This should make connection errors more obvious.
- Add `.connect()` to ftp fetching(Thanks @william-gr!)
- Fix templates with `df`.
- Fix non-existant freebsd-version when creating off a template.
- Add IP6 to `list -l`
Example: iocage list -s "uuid" or iocage list -s "uuid" -lh
- Add sorting to list.
- Allow non-interactive tty for `upgrade` and `update`.
- Fix splitting IP6 addresses.
- Fix stop with IP addresses that specify options.
- Fix `rollback` when the mountpoint was not just "/iocage".
- Fix basejail creation with templates.
Example: iocage fstab -a JAIL /the/dir
- Allow easy fstab mounts.
- Use new library for `start`
- Use new library for `stop`
- Add compressed man page and install it with setup.py
- Fix tag deletion on `destroy`.
- Fix `import` and `export` with different iocroot's instead of "/iocage"
- Errrrr we actually want to continue on plugin files. Reported by Kris Moore
- Show admin portal if the plugin specifies it in the ui.json.
- Fix bad split logic for plugin parsing.
- Catch SIGINT for `create`.
- Add `--noupdate` to tests for `fetch`.
- Do not try to set IP on a vnet jail while it is running.
- Allow HardenedBSD usage with pytest easier.
- Implement prestart, poststart, prestop and poststop
- Fix plugin creation
- Fix bad replacement that ended up breaking basejails.
- Fix basejail creation for HardenedBSD
- Disable using FreeBSD repo when creating a plugin.
- Don't use a hardcoded SRV and DNSSEC url/name for fetching plugins
- Strip out subnet mask for admin portal.
- Fix templates overriding jails when they share the same tag.
- Actually show the returned property for plugins.
- Add readonly key support to plugins
- Show stdout when fetching a plugin
- Allow properties to be specified in plugin JSON now.
- Have plugins use `boot=on` by default.
- Allow setting ip4_addr or ip6_addr to "none".
- Bail out if IP's are in use when starting a jail.
This was partially functional before, but not made obvious. In addition it did not function for HardenedBSD.
- Allow the user to just hit enter to use the host's RELEASE if applicable.
- Add kmod support for plugins.
- Show proper release for plugins.
- Add sigint handling for plugins.
- Set self.release again for plugins, this allows us to fetch missing releases.
- Add a message telling the user we will try to download the RELEASE.
- Allow specifying all the custom `fetch` variables to `--plugins`
It worked with the old, but not very ideal. This will use the equivalent -STABLE if possible.
- HardenedBSD support for plugins.
- Fix creating basejails on HardenedBSD.
- Improve error message for missing plugin JSON.
- Hopefully fix some plugins blocking command output.
- Fix VNET jails and the IP check.
- Fix clean not removing IP addresses.
- Add `activate` to `iocage` API
- Add `chroot` to `iocage` API
- Add `clean` to `iocage` API
- Add cleaning RELEASEs.
- Be less optimistic with `activate`. Also fix bug when no zpool has been activated.
- Add `clone` subcommand.
- Make sure jail isn’t running before being cloned.
- Implement pygit2