Hi Yusef, Thanks for the additional information. The update is coming from the vagrant-vbguest plugin, which runs a system update so that it can compile the kernel extension for the VirtualBox guest additions. That `yum update` will update the `centos-release` package from 7.5 to 7.8.
If you need to keep CentOS pinned at exactly 7.5, you can either deactivate the plugin, or use a box with the VirtualBox guest additions already installed, such as bento/centos-7.5. Kind regards, Jeff On Tue, May 12, 2020 at 1:07 PM yusuf yazıcı <yusuf.yaz...@gmail.com> wrote: > Hello Jeff & Dragon788, > Thank you for your updates. But my Vagrant file is exactly as you stated. > > Vagrant.configure("2") do |config| > > config.vm.box = "centos/7" > config.vm.box_version = "1809.01" > > > end > > Vagrant is booting up virtual machine with centos 7.5 and right after > upgrading to 7.8. Please find "vagrant up" output at the attachment. > > Thank you again for your intereset again. > > > > > > 12 Mayıs 2020 Salı 19:10:57 UTC+3 tarihinde dragon788 yazdı: >> >> Jeff is correct, if you are trying to avoid getting the latest version of >> a box and how to get a specific version that one should contain 7.5. >> >> Once you have that box with 7.5 it will be up to you to block updates >> from happening inside the VM by adding some commands to the provisioning >> block because the system update occurs inside the VM which Vagrant doesn't >> know anything about, it just grabs the VM and brings it up and provides >> access, it doesn't manage anything inside the system except what you >> specify in the provisioning block. >> >> On Sunday, May 10, 2020 at 7:22:12 AM UTC-5, yusuf yazıcı wrote: >>> >>> Hello everyone, >>> >>> Vagrant automatically updates box to the latest release. I want to work >>> with centos 7.5 image due to some application requirements, so i have >>> selected old box version from vagrant cloud. >>> i have set "config.vm.box_check_update = false" parameter. >>> >>> But, still box is updated to version 7.8 after deploy. Could you please >>> help me to disable upgrade? >>> >>> Thank you >>> >> -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/hashicorp/vagrant/issues > Discuss: https://discuss.hashicorp.com/c/vagrant/24 > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vagrant-up+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/8962baa8-9d58-4a35-96a0-c38e32ed9e76%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/8962baa8-9d58-4a35-96a0-c38e32ed9e76%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/hashicorp/vagrant/issues Discuss: https://discuss.hashicorp.com/c/vagrant/24 --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAAf6GafecBoYWGr79_m64XLXDLSB6i5xj2PRm5__vO_HwB2BZQ%40mail.gmail.com.