Closed midoriiro closed 2 years ago
I had an idea, when I add my box to vagrant the box is uncompressed to %USERPROFILE§/.vagrant.d/boxes/... I run manually my VM and my grub configuration is correct. This plugin is not involved.
I'll open an issue in Vagrant repository
Overview of the Issue
file located at /etd/default/grub is overwritten when vagrant post-processor is executed If a run my VM manually (I specified to do not remove my VM) my grub settings are correct. If a run my box into vagrant, my grub settings are not set.
I don't know if that is caused by this plugin or vagrant itself. But for now I open an issue here.
Reproduction Steps
Create an VM with VMWare Workstation Pro 16.2.1 build 18811642 (debian net install 11.1.0 in my case)
VMWare specific configuration:
VMWare Workstation is configured with default hardware compatibility set to: Workstation 16.2.x
Part of my shell script that edit /etc/default/grub
Use vagrant post-processor this way
Plugin and Packer version
Packer v1.7.8 Vagrant v2.2.19
Operating system and Environment details
WIndows 10 Version 21H1 Build 19043.1348 (x64) Packer and Vagrant are executed trough powershell 5.1.19041.1320
Build Log
gist