Vagrant v2.2.7 Release Notes

Release Date: 2020-01-27 // 2 months ago
  • 👌 IMPROVEMENTS:

    • guest/opensuse: Check for basename hostname prior to setting hostname [GH-11170]
    • 🐧 host/linux: Check for modinfo in /sbin if it's not on PATH [GH-11178]
    • core: Show guest name in hostname error message [GH-11175]
    • 🐧 provisioners/shell: Linux guests now support reboot option [GH-11194]
    • darwin/nfs: Put each NFS export on its own line [GH-11216]
    • contrib/bash: Add more completion flags to up command [GH-11223]
    • 👍 provider/virtualbox: Add VirtualBox provider support for version 6.1.x [GH-11250]
    • ⚡️ box/outdated: Allow to force check for box updates and ignore cached check [GH-11231]
    • ⚡️ guest/alpine: Update apk cache when installing rsync [GH-11220]
    • provider/virtualbox: Improve error message when machine folder is inaccessible [GH-11239]
    • provisioner/ansible_local: Add pip install method for arch guests [GH-11265]
    • 🏁 communicators/winssh: Use Windows shell for vagrant ssh -c [GH-11258]

    🐛 BUG FIXES:

    • command/snapshot/save: Fix regression that prevented snapshot of all guests in environment [GH-11152]
    • ⚡️ core: Update UI to properly retain newlines when adding prefix [GH-11126]
    • ⚡️ core: Check if box update is available locally [GH-11188]
    • core: Ensure Vagrant::Errors are loaded in file_checksum util [GH-11183]
    • cloud/publish: Improve argument handling for missing arguments to command [GH-11184]
    • ✅ core: Get latest version for current provider during outdated check [GH-11192]
    • 🐧 linux/nfs: avoid adding extra newlines to /etc/exports [GH-11201]
    • 🔀 guest/darwin: Fix VMware synced folders on APFS [GH-11267]
    • guest/redhat: Ensure nfs-server is restarted when installing nfs client [GH-11212]
    • core: Do not validate checksums if options are empty string [GH-11211]
    • 🏗 provider/docker: Enhance docker build method to match against buildkit output [GH-11205]
    • provisioner/ansible_local: Don't prompt for input when installing Ansible on Ubuntu and Debian [GH-11191]
    • provisioner/ansible_local: Ensure all guest caps accept all passed in arguments [GH-11265]
    • 🏁 host/windows: Fix regression that prevented port collisions from being detected [GH-11244]
    • core/provisioner: Set top level provisioner name if set in a provisioner config [GH-11295]

Previous changes from v2.2.6

  • 🔋 FEATURES:

    • core/provisioners: Introduce new Provisioner options: before and after [GH-11043]
    • 🔌 guest/alpine: Integrate the vagrant-alpine plugin into Vagrant core [GH-10975]

    👌 IMPROVEMENTS:

    • command/box/prune: Allow prompt skip while preserving actively in use boxes [GH-10908]
    • 👍 command/cloud: Support providing checksum information with boxes [GH-11101]
    • 🛠 dev: Fixed Vagrantfile for Vagrant development [GH-11012]
    • guest/alt: Improve handling for using network tools when setting hostname [GH-11000]
    • guest/suse: Add ipv6 network config templates for SUSE based distributions [GH-11013]
    • 🏁 guest/windows: Retry on connection timeout errors for the reboot capability [GH-11093]
    • host/bsd: Use host resolve path capability to modify local paths if required [GH-11108]
    • host/darwin: Add host resolve path capability to provide real paths for firmlinks [GH-11108]
    • ⚡️ provisioners/chef: Update pkg install flags for chef on FreeBSD guests [GH-11075]
    • provider/hyperv: Improve error message when VMMS is not running [GH-10978]
    • provider/virtualbox: Raise additional errors for incomplete virtualbox installation on usable check [GH-10938]
    • 👍 util/filechecksum: Add support for more checksum types [GH-11101]

    🐛 BUG FIXES:

    • 🔀 command/rsync-auto: Fix path watcher bug so that all subdirectories are synced when changed [GH-11089]
    • command/snapshot/save: Ensure VM id is passed to list snapshots for hyper-v provider [GH-11097]
    • core: Ensure proper paths are shown in config loading exceptions [GH-11056]
    • guest/suse: Use hostnamectl instead of hostname to set the hostname under SUSE [GH-11100]
    • 🐳 provider/docker: Fix default provider validation if password is used [GH-11053]
    • 🐳 provider/docker: Fix Docker providers usable? check [GH-11068]
    • provisioner/ansible_local: Ensure pip_install_cmd is finalized to emptry string [GH-11098]
    • provisioner/file: Ensure relative path for file provisioner source is relative to guest machines cwd [GH-11099]
    • 🏗 provider/docker: Ensure docker build_args option is properly set in docker compose config yaml [GH-11106]
    • ⚡️ guest/suse: Update nfs & service daemon names for suse based hosts and guests [GH-11076]
    • 🐳 provider/docker: Determine ip address prefix workaround for docker public networks [GH-11111]
    • 🐳 provider/docker: Only return interfaces where addr is not nil for networks [GH-11116]