Skip to content

v0.1.5

Compare
Choose a tag to compare
@bradenwright bradenwright released this 14 Nov 07:53
· 14 commits to master since this release
  • Added ability to mount a local directory in the container. Basically uses this command: LXD bind mount directory
  • Refactored profiles, ability to pass string or hash of profiles to use. Options get passed to lxc init -p
  • Refactored config, Options get passed to lxc init -c
  • Added ability to publish image before destroying, and use the image for future kitchen runs. This is nice for speeding up installs by installing chef, verifier (see verifier_path) and publishing the image. Also gives ability to make incremental save points, for instance while developing cookbook waiting for build-essentials to repeated install (even from the proxy) took extra time that wasn't needed (at least while developing).
  • Added "verifier_path" option, enables ability to preserve verifier install between restarts, or ability to publish image with it installed for reuse
  • Added option "wait_for_ssh_login". I noticed after publishing if I left the /root/.ssh folder (instead of deleting it), often on kitchen converge ssh login would try before the container was really ready and time out multiple times and fail. Enabling this option takes longer, but ensures that ssh is ready before kitchen create completes, this ensures ssh will be ready for kitchen converge. Personally for development I've been deleting the /root/.ssh folder, and haven't enabled the option. Hoping to eventually write a transport which wouldn't need ssh, and hopefully solve this issue.
  • NOTE: LXD 0.21, 0.22 networking options are being blocked, I commented on an open ticket requesting they be allowed again. But details here LXD Github Issue