Skip to content

fix: broken custom vagrantfile support#368

Merged
legal90 merged 1 commit intoParallels:masterfrom
jamesla:fix_broken_custom_vagrantfile_support
Oct 27, 2020
Merged

fix: broken custom vagrantfile support#368
legal90 merged 1 commit intoParallels:masterfrom
jamesla:fix_broken_custom_vagrantfile_support

Conversation

@jamesla
Copy link
Contributor

@jamesla jamesla commented Oct 25, 2020

Currently vagrant package --vagrantfile myvagrantfile is broken.

It copies the custom vagrant to the box archive, however the custom vagrantfile includes/_Vagrantfile is never loaded by the actual vagrantfile ./vagrantfile

This PR adds the package_vagrantfile action (stolen from the virtualbox provider).

This means that the following template will be rendered:

https://github.com/hashicorp/vagrant/blob/6e670777aff01043b7c21e60dd2ce95b5e433806/templates/package_Vagrantfile.erb#L10

Causing the custom vagrantfile that is already copied to actually be referenced and to work.

@legal90
Copy link
Collaborator

legal90 commented Oct 27, 2020

Verified. Works good.
@jamesla Thank you very much for this fix! 👍

@legal90
Copy link
Collaborator

legal90 commented Nov 25, 2020

This fix has been released in vagrant-parallels v2.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants