Skip to content

Releases: bsdpot/pot

0.12.0

22 May 15:15
933912e
Compare
Choose a tag to compare

New release with a substantial amount of changes, from upd support, to flavors with clone, from custom resolv.conf to improved tuning of the network setup.

Here the detailed list of all changes:

Added

  • pot.conf: add parameter to control max hostname length inside the pot (#118)
  • CI: add shellcheck as hard requirements in the PR flow
  • export-ports: add UDP support, as -e udp:53:53 (#115)
  • create: dns custom allows to statically provide a resolv.conf
  • POT_EXTIF_ADDR: new parameter to force which IP of EXTIF should be used for NAT and RDR
  • clone: add support for applying flavors to cloned pots
  • clone: add -k flag to keep the cloned pot for debug when the process failed
  • info: -s to list available snapshots of a pot
  • clone: -s flag to explicitly choose the snapshot to clone
  • architecture: remove limitation of amd64 as the only architecture supported (#143 by jmg@)
  • start/stop/term/run: add support to -p potname on those commands, the only one not supporting it

Changed

  • hostname: max default length for hostname set to 64 (#118)
  • create: adopt the new hostname length parameter (#118)
  • clone: adopt the new hostname length parameter (#118)
  • ext-if: do not include interface aliases in the bridges network if EXTIF has them (#120)
  • start: add support for custom dns resolver
  • init: create backup of rc.conf and pf.conf before to apply pot related changes
  • info: -B instead of -b for private bridge information
  • copy-in: copy is executed in the jail environment, to avoid soft-link related issues in the destination path
  • copy-in: with running pots, a -F flag is needed to force the copy, an operation that is discouraged for security reasons
  • fetch base.txz: the base FreeBSD tarball used to be temporarily stored in /tmp. While a POT_CACHE folder is available, use that instead.

Removed

  • create-dns: remove this already deprecated command, leaving the user to create a dns for the public bridge

Fixed

  • zsh: fix autocompletion for set-hook (#139 by urosgruber)

0.11.6

14 Dec 20:31
Compare
Choose a tag to compare

Fix release

fix stop when dns type is off

0.11.5

21 Nov 17:14
Compare
Choose a tag to compare

Tiny new release with a bug fix on FreeBSD 12.2 in pf configuration and a new option to disable for the dns configuration (users has to copy a resolv.conf into the jail)

0.11.4

12 Sep 16:03
Compare
Choose a tag to compare

Added

  • set-attr: add many jails attributes: enforce_stats mount fdescfs libprocfs nullfs procfs tmpfs zfs children

Fixed

  • localhost-tunnel: fix multiple port support (#108)

0.11.3

03 Aug 21:05
Compare
Choose a tag to compare

Fix release

Changed

  • start: remove temporary files

Fixes

  • clone: fix a typo refactoring the grep that remove network parameters (#90)
  • mount-in: fix mountpoint validation when pot is stopped and -v is passed (#93)
  • clone: hooks have been ignored by clone (#94)
  • info: fix withespace quoting with -E flag (#95)
  • prepare: fix -i command to allow multiple IP addresses (#97)
  • ifconfig: force IFCONFIG_FORMAT to avoid conflicting user setting (#99)

0.11.2

01 May 13:57
Compare
Choose a tag to compare

Fix release

Fixed

  • fbsd-update: don't assume there is a tty (fix #86)
  • clone: duplicate the entry pot.stack (fix #88)

Added

  • prepare: the -S option is now used to specify the network stack

Changed

  • prepare: the -S flag to start the imported pot changed in -s

0.11.1

19 Apr 20:20
Compare
Choose a tag to compare

Fix release

  • set-attr: fix support to early-start-at-boot

0.11.0

19 Apr 16:02
Compare
Choose a tag to compare

New major release

Breaking changes:

  • syslogd forwarding is now disabled for new created pot
  • the previously deprecated options and flags have been removed
  • network stack concept added (here the documentation)
  • rework of network type alias to allow complex network setup (here the documentation)

Added

  • create-base: automatically call freebsd-update when a base is created (#83)
  • attribute early-start-at-boot: for pot needed to start early at boot (REQUIRE: NETWORKING syslogd pf)
  • create: add a -k flag to keep the pot, even if it's creation process failed
  • network stack: add network stack as framework concept (ipv4, ipv6 or dual)
  • CI: import the run.sh script, with regression system tests
  • alias: the new notation -i can be repeated to assign multiple IPs to different NICs
  • hooks: added variables to provide the full new alias network configuration

Changed

  • osrelease: detect it from freebsd-version, deprecating the osrelease field in pot.conf (#83)
  • start-at-boot: the pot rc.d service will be executed late, with jail
  • create: if create fails, the partially created pot is automatically destroyed
  • create: -P will use send/receive from a snapshot, to cut the dependency with the snapshot
  • create-multi: usr.local and custom dataset are send/received instead of cloned
  • inherit: it inherits the stack configured in pot.conf
  • alias: extend -i option to accept netif|ipaddr
  • alias: -i option can be repeated more than once to add more ip addresses to the same instance
  • syslogd: initial removal of syslogd forwarding

Removed

  • alias: remove option -I, in favour of a more flexible and powerful -i
  • export: remove option -s, to select a specific snapshot (already deprecated)
  • snapshot: remove option -n, to specify a snapshot name (already deprecated)
  • snapshot: remove flag -a, to snapshot external ZFS datasets (already deprecated)
  • revert: remove flag -a, to restore external ZFS datasets (already deprecated)

Fixed

  • mount-in: compute the realpath of the mount-point
  • create: use pipefail only where implemented
  • ipv6: rtsold doesn't start in a jail on 11.3

0.10.4

24 Feb 10:10
Compare
Choose a tag to compare

Added

  • alias: add ability to use a different network interface for alias network type (#80)
  • env: add pot info -E output to environment or tinirc
  • log: add the ability to log activites in syslog (local2 facility by default)

Fixed

  • prepare: fix multiple export port support
  • rc script: extend PATH to make potnet accessible
  • etc/hosts: add full hostname to localhost

0.10.3

07 Jan 16:32
Compare
Choose a tag to compare

Minor changes in ls and export-ports