Vagrant v1.3.0 Release Notes

Release Date: 2013-09-05 // over 10 years ago
  • BACKWARDS INCOMPATIBILITY:

    • config.ssh.max_tries is gone. Instead of maximum tries, Vagrant now uses a simple overall timeout value config.vm.boot_timeout to wait for the machine to boot up.
    • config.vm.graceful_halt_retry_* settings are gone. Instead, a single timeout is now used to wait for a graceful halt to work, specified by config.vm.graceful_halt_timeout.
    • The ':extra' flag to shared folders for specifying arbitrary mount options has been replaced with the :mount_options flag, which is now an array of mount options.
    • vagrant up will now only run provisioning by default the first time it is run. Subsequent reload or up will need to explicitly specify the --provision flag to provision. [GH-1776]

    ๐Ÿ”‹ FEATURES:

    • New command: vagrant plugin update to update specific installed plugins.
    • New provisioner: File provisioner. [GH-2112]
    • New provisioner: Salt provisioner. [GH-1626]
    • New guest: Mac OS X guest support. [GH-1914]
    • New guest: CoreOS guest support. Change host names and configure networks on CoreOS. [GH-2022]
    • New guest: Solaris 11 guest support. [GH-2052]
    • Support for environments in the Chef-solo provisioner. [GH-1915]
    • Provisioners can now define "cleanup" tasks that are executed on vagrant destroy. [GH-1302]
    • Chef Client provisioner will now clean up the node/client using knife if configured to do so.
    • vagrant up has a --no-destroy-on-error flag that will not destroy the VM if a fatal error occurs. [GH-2011]
    • NFS: Arbitrary mount options can be specified using the mount_options option on synced folders. [GH-1029]
    • NFS: Arbitrary export options can be specified using bsd__nfs_options and linux__nfs_options. [GH-1029]
    • Static IP can now be set on public networks. [GH-1745]
    • Add Vagrant.has_plugin? method for use in Vagrantfile to check if a plugin is installed. [GH-1736]
    • Support for remote shell provisioning scripts [GH-1787]

    ๐Ÿ‘Œ IMPROVEMENTS:

    • core: add --color to any Vagrant command to FORCE color output. [GH-2027]
    • core: "config.vm.host_name" works again, just an alias to hostname.
    • core: Reboots via SSH are now handled gracefully (without exception).
    • core: Mark disabled as true on forwarded port to disable. [GH-1922]
    • core: NFS exports are now namespaced by user ID, so pruning NFS won't remove exports from other users. [GH-1511]
    • core: "vagrant -v" no longer loads the Vagrantfile
    • commands/box/remove: Fix stack trace that happens if no provider is specified. [GH-2100]
    • commands/plugin/install: Post install message of a plugin will be shown if available. [GH-1986]
    • commands/status: cosmetic improvement to better align names and statuses [GH-2016]
    • communicators/ssh: Support a proxy_command. [GH-1537]
    • guests/openbsd: support configuring networks, changing host name, and mounting NFS. [GH-2086]
    • guests/suse: Supports private/public networks. [GH-1689]
    • hosts/fedora: Support RHEL as a host. [GH-2088]
    • providers/virtualbox: "post-boot" customizations will run directly after boot, and before waiting for SSH. [GH-2048]
    • provisioners/ansible: Many more configuration options. [GH-1697]
    • provisioners/ansible: Ansible inventory_path can be a directory now. [GH-2035]
    • provisioners/ansible: Extra verbose option by setting config.verbose to extra. [GH-1979]
    • provisioners/ansible: inventory_path will be auto-generated if not specified. [GH-1907]
    • provisioners/puppet: Add nfs option to puppet provisioner. [GH-1308]
    • provisioners/shell: Set the privileged option to false to run without sudo. [GH-1370]

    ๐Ÿ› BUG FIXES:

    • core: Clean up ".vagrant" folder more effectively.
    • core: strip newlines off of ID file values [GH-2024]
    • core: Multiple forwarded ports with different protocols but the same host port can be specified. [GH-2059]
    • core: :nic_type option for private networks is respected. [GH-1704]
    • commands/up: provision-with validates the provisioners given. [GH-1957]
    • guests/arch: use systemd way of setting host names. [GH-2041]
    • guests/debian: Force bring up eth0. Fixes hangs on setting hostname. [GH-2026]
    • guests/ubuntu: upstart events are properly emitted again. [GH-1717]
    • hosts/bsd: Nicer error if can't read NFS exports. [GH-2038]
    • hosts/fedora: properly detect later CentOS versions. [GH-2008]
    • providers/virtualbox: VirtualBox 4.2 now supports up to 36 network adapters. [GH-1886]
    • provisioners/ansible: Execute ansible with a cwd equal to the path where the Vagrantfile is. [GH-2051]
    • provisioners/all: invalid config keys will be properly reported. [GH-2117]
    • provisioners/ansible: No longer report failure on every run. [GH-2007]
    • provisioners/ansible: Properly handle extra vars with spaces. [GH-1984]
    • provisioners/chef: Formatter option works properly. [GH-2058]
    • provisioners/chef: Create/chown the provisioning folder before reading contents. [GH-2121]
    • provisioners/puppet: mount synced folders as root to avoid weirdness
    • provisioners/puppet: Run from the correct working directory. [GH-1967] with Puppet. [GH-2015]
    • providers/virtualbox: Use getent to get the group ID instead of id in case the name doesn't have a user. [GH-1801]
    • providers/virtualbox: Will only set the default name of the VM on initial up. [GH-1817]