Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting box_check_update to false does not disable box update checking #181

Closed
roderickrandolph opened this issue Jul 19, 2015 · 2 comments
Labels

Comments

@roderickrandolph
Copy link
Contributor

.kitchen.yml


---
driver:
  name: vagrant
  box_check_update: false
  vm_hostname: localhost

platforms:
  - name: chef/centos-6.6

Expect:

      Vagrant.configure("2") do |c|
        c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
        c.vm.box = "chef/centos-6.6"
        c.vm.box_check_update = "false"
        c.vm.hostname = "localhost"
        c.vm.synced_folder ".", "/vagrant", disabled: true
      end

Actual:

      Vagrant.configure("2") do |c|
        c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
        c.vm.box = "chef/centos-6.6"
        c.vm.hostname = "localhost"
        c.vm.synced_folder ".", "/vagrant", disabled: true
      end

Per the Automatic Update Checking section of the Vagrant documentation, box update checking is enabled by default if "box_check_update" is not explicitly disabled in the Vagrantfile.

@roderickrandolph
Copy link
Contributor Author

PR #182 submitted

@cheeseplus
Copy link
Contributor

Merged @4f53d5f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants